|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.sort.GlobalOrderComparer
public final class GlobalOrderComparer
A Comparer used for comparing nodes in document order. This comparer is used when there is no guarantee that the nodes being compared come from the same document
Constructor Summary | |
---|---|
GlobalOrderComparer()
|
Method Summary | |
---|---|
int |
compare(NodeInfo a,
NodeInfo b)
Compare two objects. |
static GlobalOrderComparer |
getInstance()
Get an instance of a GlobalOrderComparer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlobalOrderComparer()
Method Detail |
---|
public static GlobalOrderComparer getInstance()
public int compare(NodeInfo a, NodeInfo b)
NodeOrderComparer
compare
in interface NodeOrderComparer
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |