public final class MultiKeyUntypedEventPair extends Object implements MetaDefItem, Serializable
EventBean
handle
The class allows a Map that uses MultiKeyUntyped entries for key values to use multiple objects as keys.
It calculates the hashCode from the key objects on construction and caches the hashCode.Constructor and Description |
---|
MultiKeyUntypedEventPair(Object[] keys,
EventBean eventBean)
Constructor for multiple keys supplied in an object array.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Object |
get(int index)
Returns the key object at the specified position.
|
EventBean |
getEventBean()
Returns the event.
|
Object[] |
getKeys()
Returns keys.
|
int |
hashCode() |
int |
size()
Returns the number of key objects.
|
String |
toString() |
public EventBean getEventBean()
public final int size()
public final Object get(int index)
index
- is the array positionpublic Object[] getKeys()