public interface LongComparator extends Comparator<Long>
Comparator; provides methods to compare two primitive types both as objects and as primitive types.
fastutil provides a corresponding abstract class that
can be used to implement this interface just by specifying the type-specific
|Modifier and Type||Method and Description|
Compares the given primitive types.
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
int compare(long k1, long k2)