com.icl.saxon.sort
public abstract class Comparer extends Object
Method Summary | |
---|---|
abstract int | compare(Object a, Object b)
Compare two objects. |
Comparer | setDataType(String dataTypeURI, String dataTypeLocalName)
Set data type. |
Comparer | setOrder(boolean isAscending)
Set order. |
Returns: <0 if a0 if a>b
Throws: ClassCastException if the objects are of the wrong type for this Comparer