|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.collection.MultiKeyUntypedEventPair
public final class MultiKeyUntypedEventPair
Functions as a key value for Maps where keys need to be composite values, and includes an 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 Summary | |
---|---|
MultiKeyUntypedEventPair(java.lang.Object[] keys,
EventBean eventBean)
Constructor for multiple keys supplied in an object array. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
|
java.lang.Object |
get(int index)
Returns the key object at the specified position. |
EventBean |
getEventBean()
Returns the event. |
java.lang.Object[] |
getKeys()
Returns keys. |
int |
hashCode()
|
int |
size()
Returns the number of key objects. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MultiKeyUntypedEventPair(java.lang.Object[] keys, EventBean eventBean)
keys
- is an array of key objectseventBean
- for pairMethod Detail |
---|
public EventBean getEventBean()
public final int size()
public final java.lang.Object get(int index)
index
- is the array position
public final boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.Object[] getKeys()
public final int hashCode()
hashCode
in class java.lang.Object
public final java.lang.String toString()
toString
in class java.lang.Object
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |