Interface IComparator<DATATYPE>

  • Type Parameters:
    DATATYPE - The data type to be compared
    All Superinterfaces:
    Comparator<DATATYPE>, Serializable
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @NotThreadSafe
    @FunctionalInterface
    public interface IComparator<DATATYPE>
    extends Comparator<DATATYPE>, Serializable
    A special interface that combines Comparator and Serializable for easier reuse since Comparators should be Serializable.
    Author:
    Philip Helger