public interface IntComparator extends Comparator<Integer>
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(int k1,
int k2)
Compares the given primitive types.
|
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongint compare(int k1,
int k2)
ComparatorCopyright © 2011–2016. All rights reserved.