|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.sort.DescendingComparer
public class DescendingComparer
A Comparer used for comparing descending keys. This simply returns the inverse of the result delivered by the base comparer.
| Constructor Summary | |
|---|---|
DescendingComparer(java.util.Comparator base)
|
|
| Method Summary | |
|---|---|
int |
compare(java.lang.Object a,
java.lang.Object b)
Compare two objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public DescendingComparer(java.util.Comparator base)
| Method Detail |
|---|
public int compare(java.lang.Object a,
java.lang.Object b)
compare in interface java.util.Comparatorjava.lang.ClassCastException - if the objects are of the wrong type for this Comparer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||