|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sourceforge.jemm.util.managed.ECMEntry<K,V>
K - The key type.V - The value type.public class ECMEntry<K,V>
An entry within an EnhancedConcurrentHashMap
| Constructor Summary | |
|---|---|
ECMEntry(K key,
V value)
Creates an ECMEntry with the given key and value |
|
| Method Summary | |
|---|---|
K |
getKey()
Returns the key of this entry. |
V |
getValue()
Returns the value of this entry. |
boolean |
isAlive()
Returned whether this entry has been marked as dead, or has a null value. |
void |
markAsDead()
Mark this entry as dead. |
void |
setValue(V newValue)
Set the value to the given value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ECMEntry(K key,
V value)
key - The key.value - The value.| Method Detail |
|---|
public K getKey()
public V getValue()
public void setValue(V newValue)
newValue - The new value to store.public final void markAsDead()
public boolean isAlive()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||