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
equals
public static final BooleanComparator INSTANCE
public int compare(Boolean boolean1, Boolean boolean2)
compare
in interface Comparator<Boolean>
boolean1
- First booleanboolean2
- Second booleanCopyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.