Interface DoubleComparator

All Superinterfaces:
Comparator<Double>
All Known Implementing Classes:
AbstractDoubleComparator
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 DoubleComparator
extends Comparator<Double>
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