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 theKeyset
interface.- 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 boolean
equals(Object obj)
Serializable[]
getTuple()
Returns the key set tuple ordered by the respective order by expressions.int
hashCode()
-
-
-
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:Keyset
Returns the key set tuple ordered by the respective order by expressions.
-
-