public final class MultiKeyUntyped extends Object implements MetaDefItem, Serializable
Constructor and Description |
---|
MultiKeyUntyped(Object key)
Constructor for a single key object.
|
MultiKeyUntyped(Object[] keys)
Constructor for multiple keys supplied in an object array.
|
MultiKeyUntyped(Object key1,
Object key2)
Constructor for a pair of key objects.
|
MultiKeyUntyped(Object key1,
Object key2,
Object key3)
Constructor for three key objects.
|
MultiKeyUntyped(Object key1,
Object key2,
Object key3,
Object key4)
Constructor for four key objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Object |
get(int index)
Returns the key object at the specified position.
|
Object[] |
getKeys()
Returns keys.
|
int |
hashCode() |
int |
size()
Returns the number of key objects.
|
String |
toString() |
public MultiKeyUntyped(Object[] keys)
keys
- is an array of key objectspublic MultiKeyUntyped(Object key)
key
- is the single key objectpublic MultiKeyUntyped(Object key1, Object key2)
key1
- is the first key objectkey2
- is the second key objectpublic MultiKeyUntyped(Object key1, Object key2, Object key3)
key1
- is the first key objectkey2
- is the second key objectkey3
- is the third key objectpublic final int size()
public final Object get(int index)
index
- is the array positionpublic Object[] getKeys()