public static class IntComparator.Reversed extends java.lang.Object implements IntComparator
IntComparator.Reversed| Constructor and Description |
|---|
Reversed(IntComparator original) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(int o1,
int o2)
Type-Specific compare function to reduce (un)boxing
|
IntComparator |
reversed() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompare, ofpublic Reversed(IntComparator original)
public int compare(int o1,
int o2)
IntComparatorcompare in interface IntComparatoro1 - the first object to be compared.o2 - the second object to be compared.Comparator.compare(Object, Object)public IntComparator reversed()
reversed in interface java.util.Comparator<java.lang.Integer>reversed in interface IntComparator