Class Equalator.Sequence<T>

java.lang.Object
one.microstream.equality.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.
  • Method Details

    • equal

      public final boolean equal​(T instance1, T instance2)
      Description copied from interface: Equalator
      Compares the two given objects (object1 and object2) depending on the implementation.
      Specified by:
      equal in interface Equalator<T>
      Parameters:
      instance1 - as first object to check equality on
      instance2 - as second object to check equality on
      Returns:
      true if object1 equals object2, false if not.