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