public final class MultiKey<T>
extends java.lang.Object
Constructor and Description |
---|
MultiKey(T[] keys)
Constructor for multiple keys supplied in an object array.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.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.
|
java.lang.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 boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public final java.lang.String toString()
toString
in class java.lang.Object
public final T[] getArray()