com.taco.data
Class SoftValueMap.SoftValueEntrySet.SoftValueMapEntry
java.lang.Object
com.taco.data.SimpleMapEntry
com.taco.data.SoftValueMap.SoftValueEntrySet.SoftValueMapEntry
- All Implemented Interfaces:
- INoReturnMap.INoReturnEntry, java.io.Serializable, java.lang.Cloneable, java.util.Map.Entry
- Enclosing class:
- SoftValueMap.SoftValueEntrySet
protected class SoftValueMap.SoftValueEntrySet.SoftValueMapEntry
- extends SimpleMapEntry
Represents a map entry in the entry set. This class wraps a map
entry in the storage map. Instances of this class should only be
created while a strong reference to the user value exists. Once
created, a strong reference to the user value is maintained, so
while this entry is extant, the user value is guaranteed not to be
cleared.
- See Also:
- Serialized Form
Field Summary |
protected java.util.Map.Entry |
_innerEntry
The entry in the storage map that this instance wraps. |
Method Summary |
java.lang.Object |
setValue(java.lang.Object value)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map.Entry |
equals |
_innerEntry
protected java.util.Map.Entry _innerEntry
- The entry in the storage map that this instance wraps.
SoftValueMap.SoftValueEntrySet.SoftValueMapEntry
public SoftValueMap.SoftValueEntrySet.SoftValueMapEntry(java.util.Map.Entry innerEntry)
setValue
public java.lang.Object setValue(java.lang.Object value)
- Specified by:
setValue
in interface java.util.Map.Entry
- Overrides:
setValue
in class SimpleMapEntry