Class AbstractWeakValueMap<K,​V>

  • Type Parameters:
    K - is the type of the keys.
    V - is the type of the values.
    All Implemented Interfaces:
    Map<K,​V>
    Direct Known Subclasses:
    WeakValueHashMap, WeakValueTreeMap

    public abstract class AbstractWeakValueMap<K,​V>
    extends AbstractReferencedValueMap<K,​V>
    A Map implementation with weak values. An entry in a AbstractWeakValueMap will automatically be removed when its value is no longer in ordinary use or null.

    This abstract implementation does not decide if the map is based on a tree or on a hashtable.

    Since:
    5.8
    Version:
    17.0 2020-01-04 14:41:38
    Author:
    Stéphane GALLAND
    Maven Group Id:
    org.arakhne.afc.core
    Maven Artifact Id:
    references