| java.lang.Object org.jpox.util.ReferenceValueMap org.jpox.util.SoftValueMap
SoftValueMap | public class SoftValueMap extends ReferenceValueMap (Code) | | A 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 Also: SoftReference version: $Revision: 1.2 $ |
Constructor Summary | |
public | SoftValueMap() | public | SoftValueMap(int initialCapacity) Constructor taking the initial capacity. | public | SoftValueMap(int initialCapacity, float loadFactor) Constructor taking the initial capacity and load factor. | public | SoftValueMap(Map m) Constructor taking a Map for definition. |
SoftValueMap | public SoftValueMap()(Code) | | Default Constructor
|
SoftValueMap | public SoftValueMap(int initialCapacity)(Code) | | Constructor taking the initial capacity.
Parameters: initialCapacity - The Initial capacity of the collection |
SoftValueMap | public SoftValueMap(int initialCapacity, float loadFactor)(Code) | | Constructor taking the initial capacity and load factor.
Parameters: initialCapacity - The Initial capacity of the collection Parameters: loadFactor - The Load Factor of the collection |
SoftValueMap | public SoftValueMap(Map m)(Code) | | Constructor taking a Map for definition.
Parameters: m - The Map |
|
|