| java.lang.Object org.jpox.util.ReferenceValueMap org.jpox.util.WeakValueMap
WeakValueMap | public class WeakValueMap extends ReferenceValueMap (Code) | | A java.util.Map implementation using weak reference values.
The values are stored in the map as weak references. If the garbage
collector clears the reference, the corresponding key is automatically
removed from the map.
See Also: WeakReference version: $Revision: 1.2 $ |
Constructor Summary | |
public | WeakValueMap() | public | WeakValueMap(int initialCapacity) Constructor taking the initial capacity. | public | WeakValueMap(int initialCapacity, float loadFactor) Constructor taking the initial capacity and load factor. | public | WeakValueMap(Map m) Constructor taking a Map for definition. |
WeakValueMap | public WeakValueMap()(Code) | | Default Constructor
|
WeakValueMap | public WeakValueMap(int initialCapacity)(Code) | | Constructor taking the initial capacity.
Parameters: initialCapacity - The Initial capacity of the collection |
WeakValueMap | public WeakValueMap(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 |
WeakValueMap | public WeakValueMap(Map m)(Code) | | Constructor taking a Map for definition.
Parameters: m - The Map |
|
|