java.util.Comparator<java.lang.Integer>public interface IntComparator
extends java.util.Comparator<java.lang.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| Modifier and Type | Method | Description |
|---|---|---|
int |
compare(int k1,
int k2) |
Compares the given primitive types.
|