public static class BooleanComparator.Reversed extends java.lang.Object implements BooleanComparator
BooleanComparator.Reversed| Constructor and Description |
|---|
Reversed(BooleanComparator original)
default constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(boolean o1,
boolean o2)
Type-Specific compare function to reduce (un)boxing
|
BooleanComparator |
reversed() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompare, ofpublic Reversed(BooleanComparator original)
original - that is going to be reversedpublic int compare(boolean o1,
boolean o2)
BooleanComparatorcompare in interface BooleanComparatoro1 - the first object to be compared.o2 - the second object to be compared.Comparator.compare(Object, Object)public BooleanComparator reversed()
reversed in interface java.util.Comparator<java.lang.Boolean>reversed in interface BooleanComparator