org.aspectbench.tm.runtime.internal
Class WeakKeyIdentityHashMap.HashEntry
java.lang.Object
org.aspectbench.tm.runtime.internal.WeakKeyIdentityHashMap.HashEntry
- All Implemented Interfaces:
- java.util.Map.Entry
- Enclosing class:
- WeakKeyIdentityHashMap
public class WeakKeyIdentityHashMap.HashEntry
- extends java.lang.Object
HashEntrys for this kind of map return the object if getKey() is called
and the object is alive.
Field Summary |
protected int |
hashCode
|
protected boolean |
live
|
protected org.aspectbench.tm.runtime.internal.IdentityHashMap.HashEntry |
next
|
protected java.lang.Object |
value
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map.Entry |
equals |
next
protected org.aspectbench.tm.runtime.internal.IdentityHashMap.HashEntry next
hashCode
protected int hashCode
value
protected java.lang.Object value
live
protected boolean live
WeakKeyIdentityHashMap.HashEntry
protected WeakKeyIdentityHashMap.HashEntry(WeakKeyIdentityHashMap.HashEntry next,
PersistentWeakRef key,
int hashCode,
java.lang.Object value)
getKey
public java.lang.Object getKey()
- Specified by:
getKey
in interface java.util.Map.Entry
getKeyHash
protected int getKeyHash()
hashCode
public int hashCode()
- Specified by:
hashCode
in interface java.util.Map.Entry
- Overrides:
hashCode
in class java.lang.Object
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interface java.util.Map.Entry
setValue
public java.lang.Object setValue(java.lang.Object value)
- Specified by:
setValue
in interface java.util.Map.Entry