public class BooleanComparator extends Object implements Comparator<Boolean>
Modifier and Type | Field and Description |
---|---|
static BooleanComparator |
INSTANCE
A static instance of a BooleanComparator
|
Modifier and Type | Method and Description |
---|---|
int |
compare(Boolean boolean1,
Boolean boolean2)
Compare two booleans.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final BooleanComparator INSTANCE
public int compare(Boolean boolean1, Boolean boolean2)
compare
in interface Comparator<Boolean>
boolean1
- First booleanboolean2
- Second booleanCopyright © 2012–2018 Apache Mavibot Project Parent. All rights reserved.