Package com.blazebit.persistence
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 theKeysetinterface.- Since:
- 1.4.1
- Author:
- Christian Beikov
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultKeyset(Serializable[] tuple)Creates a new keyset object from the given tuple.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Serializable[]getTuple()Returns the key set tuple ordered by the respective order by expressions.inthashCode()
-
-
-
Constructor Detail
-
DefaultKeyset
public DefaultKeyset(Serializable[] tuple)
Creates a new keyset object from the given tuple.- Parameters:
tuple- The tuple of the keyset
-
-
Method Detail
-
getTuple
public Serializable[] getTuple()
Description copied from interface:KeysetReturns the key set tuple ordered by the respective order by expressions.
-
-