Class DefaultKeyset

java.lang.Object
com.blazebit.persistence.DefaultKeyset
All Implemented Interfaces:
Keyset, Serializable

public class DefaultKeyset extends Object implements Keyset
A simple default implementation for the Keyset interface.
Since:
1.4.1
Author:
Christian Beikov
See Also:
  • Constructor Details

    • DefaultKeyset

      public DefaultKeyset(Serializable[] tuple)
      Creates a new keyset object from the given tuple.
      Parameters:
      tuple - The tuple of the keyset
  • Method Details

    • getTuple

      public Serializable[] getTuple()
      Description copied from interface: Keyset
      Returns the key set tuple ordered by the respective order by expressions.
      Specified by:
      getTuple in interface Keyset
      Returns:
      The key set tuple for this keyset
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object