public final class MultiKey<T> extends Object
Constructor and Description |
---|
MultiKey(T[] keys)
Constructor for multiple keys supplied in an object array.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
T |
get(int index)
Returns the key object at the specified position.
|
T[] |
getArray()
Returns the key value array.
|
int |
hashCode() |
int |
size()
Returns the number of key objects.
|
String |
toString() |
public MultiKey(T[] keys)
keys
- is an array of key objectspublic final int size()
public final T get(int index)
index
- is the array positionpublic final T[] getArray()