public interface BooleanComparator extends Comparator<Boolean>
Comparator; provides methods to compare two primitive types both as objects
and as primitive types.
Note that fastutil provides a corresponding abstract class that
can be used to implement this interface just by specifying the type-specific
comparator.
Comparator| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
compare(boolean k1,
boolean k2)
Compares the given primitive types.
|
compare, equalsint compare(boolean k1,
boolean k2)
ComparatorCopyright © 2011-2015. All Rights Reserved.