net.sf.saxon.sort
public class DescendingComparer extends Object implements Comparator, Serializable
Constructor Summary | |
---|---|
DescendingComparer(Comparator base) |
Method Summary | |
---|---|
int | compare(Object a, Object b)
Compare two objects. |
Returns: <0 if a0 if a>b
Throws: ClassCastException if the objects are of the wrong type for this Comparer