Class Equalator.Sequence<T>

  • All Implemented Interfaces:
    Equalator<T>
    Enclosing interface:
    Equalator<T>

    public static final class Equalator.Sequence<T>
    extends Object
    implements Equalator<T>
    Useful for implementing SQL-like "GROUP BY" for collections.
    • Constructor Detail

      • Sequence

        public Sequence()
    • Method Detail

      • equal

        public final boolean equal​(T instance1,
                                   T instance2)
        Specified by:
        equal in interface Equalator<T>