Interface CharComparator

All Superinterfaces:
Comparator<Character>
All Known Implementing Classes:
AbstractCharComparator
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 CharComparator
extends Comparator<Character>
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