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