Class WeakValueTreeMap<K,​V>

  • All Implemented Interfaces:
    java.util.Map<K,​V>, java.util.NavigableMap<K,​V>, java.util.SortedMap<K,​V>

    public class WeakValueTreeMap<K,​V>
    extends AbstractWeakValueNavigableMap<K,​V>
    Class to provide a tree map with weak values.
    • Constructor Detail

      • WeakValueTreeMap

        public WeakValueTreeMap()
        Constructs a new weak map
      • WeakValueTreeMap

        public WeakValueTreeMap​(java.util.Comparator<K> comparator)
        Constructs a new weak map with keys ordered according to the given comparator
        Parameters:
        comparator - the comparator, or null for the natural ordering