|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.icl.saxon.sort.Comparer
public abstract class Comparer
A Comparer used for comparing keys
Constructor Summary | |
---|---|
Comparer()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Comparer()
Method Detail |
---|
public abstract int compare(Object a, Object b)
ClassCastException
- if the objects are of the wrong type for this Comparerpublic Comparer setDataType(String dataTypeURI, String dataTypeLocalName)
public Comparer setOrder(boolean isAscending)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |