Package net.sf.saxon.expr.sort
Interface ItemOrderComparer
- All Superinterfaces:
Comparator<Item>
- All Known Implementing Classes:
GlobalOrderComparer
,LocalOrderComparer
A Comparer used for comparing nodes in document order, or items in merge order
-
Method Summary
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Method Details
-
compare
Compare two objects.- Specified by:
compare
in interfaceComparator<Item>
- Returns:
- <0 if a<b, 0 if a=b, >0 if a>b
-