|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.util.AbstractHashedMap.HashEntry
HashEntry used to store the data.
If you subclass AbstractHashedMap
but not
HashEntry
then you will not be able to access the
protected fields. The entryXxx()
methods on
AbstractHashedMap
exist to provide the necessary access.
Field Summary | |
protected int |
hashCode
The hash code of the key |
protected Object |
key
The key |
protected AbstractHashedMap.HashEntry |
next
The next entry in the hash chain |
protected Object |
value
The value |
Constructor Summary | |
protected |
AbstractHashedMap.HashEntry(AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value)
|
Method Summary | |
boolean |
equals(Object obj)
|
Object |
getKey()
|
Object |
getValue()
|
int |
hashCode()
|
Object |
setValue(Object value)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected AbstractHashedMap.HashEntry next
protected int hashCode
protected Object key
protected Object value
Constructor Detail |
protected AbstractHashedMap.HashEntry(AbstractHashedMap.HashEntry next, int hashCode, Object key, Object value)
Method Detail |
public Object getKey()
getKey
in interface Map.Entry
public Object getValue()
getValue
in interface Map.Entry
public Object setValue(Object value)
setValue
in interface Map.Entry
public boolean equals(Object obj)
equals
in interface Map.Entry
public int hashCode()
hashCode
in interface Map.Entry
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |