Class AbstractWeakValueNavigableMap.NavigableView<K,​V>

  • Type Parameters:
    K - the type of keys
    V - the type of values
    All Implemented Interfaces:
    java.util.Map<K,​V>, java.util.NavigableMap<K,​V>, java.util.SortedMap<K,​V>
    Enclosing class:
    AbstractWeakValueNavigableMap<K,​V>

    protected static class AbstractWeakValueNavigableMap.NavigableView<K,​V>
    extends AbstractWeakValueNavigableMap<K,​V>
    A view of this same map that limits or changes the order of the keys

    TODO: By virtue of extending (indirectly) AbstractWeakValueMap, this view inherits a unique, but totally unused, AbstractWeakValueMap.refQueue. This is a small and harmless, but unnecessary waste.