java.util.Map
implementation with soft values. The values are stored as soft references. If map entry value object is not actively being used, i.e. no other object has a strong reference to it, it may become garbage collected at the discretion of the garbage collector (typically if the VM is low on memory). If this happens, the entry in the SoftValueMap
corresponding to the value object will also be removed.
@see SoftReference
@version $Revision: 1.2 $
|
|
|
|