Class Comparators.Cascade<E>

  • Type Parameters:
    E - the type to be compared.
    All Implemented Interfaces:
    Serializable, Comparator<E>
    Enclosing class:
    Comparators<E>

    private static class Comparators.Cascade<E>
    extends Object
    implements Comparator<E>, Serializable
    Represents a comparator which is a cascade of comparators: Starting with the first comparator in seq asks the next comparator if the current one detects equality.