Interface IntComparator

All Superinterfaces:
Comparator<Integer>
All Known Implementing Classes:
AbstractIntComparator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface IntComparator
extends Comparator<Integer>
A type-specific 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.

See Also:
Comparator