private static final class Util.ForwardComparator extends Object implements Comparator<Comparable<Object>>
Collections.reverseOrder()
for a
reverse comparator.Modifier | Constructor and Description |
---|---|
private |
Util.ForwardComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Comparable<Object> o1,
Comparable<Object> o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public int compare(Comparable<Object> o1, Comparable<Object> o2)
compare
in interface Comparator<Comparable<Object>>