Package gnu.kawa.util

Class AbstractWeakHashTable<K,​V>

  • All Implemented Interfaces:
    Map<K,​V>

    public abstract class AbstractWeakHashTable<K,​V>
    extends AbstractHashTable<AbstractWeakHashTable.WEntry<K,​V>,​K,​V>
    A hash table with weakly referenced keys and values. Unlike java.util.WeakHashMap, this is useful when a value object contain a strong reference to the corresponding keys.