com.taco.data
Class SoftValueMap.SoftValueEntrySet.SoftValueMapEntry

java.lang.Object
  extended by com.taco.data.SimpleMapEntry
      extended by 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.
 
Fields inherited from class com.taco.data.SimpleMapEntry
_key, _value
 
Constructor Summary
SoftValueMap.SoftValueEntrySet.SoftValueMapEntry(java.util.Map.Entry innerEntry)
           
 
Method Summary
 java.lang.Object setValue(java.lang.Object value)
           
 
Methods inherited from class com.taco.data.SimpleMapEntry
clone, getKey, getValue, hashCode, setValueNoReturn, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals
 

Field Detail

_innerEntry

protected java.util.Map.Entry _innerEntry
The entry in the storage map that this instance wraps.

Constructor Detail

SoftValueMap.SoftValueEntrySet.SoftValueMapEntry

public SoftValueMap.SoftValueEntrySet.SoftValueMapEntry(java.util.Map.Entry innerEntry)
Method Detail

setValue

public java.lang.Object setValue(java.lang.Object value)
Specified by:
setValue in interface java.util.Map.Entry
Overrides:
setValue in class SimpleMapEntry