Class WeakValueHashMap

java.lang.Object
org.web3d.util.WeakValueHashMap
All Implemented Interfaces:
Map<Object,org.web3d.util.KeyedWeakReference>

public class WeakValueHashMap extends Object implements Map<Object,org.web3d.util.KeyedWeakReference>
An extension of HashMap which stored weak references to the values in the hash map.

Like it says in the documentation for WeakHashMap, this class breaks several immutability assumptions that are assumed for HashMap, since values will be disappearing at random.

Version:
$Revision: 1.2 $
Author:
Brad Vender