Interface ByteComparator

All Superinterfaces:
Comparator<Byte>
All Known Implementing Classes:
AbstractByteComparator
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 ByteComparator
extends Comparator<Byte>
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