Class TreeEntrySet<K extends Comparable,​V>

  • Type Parameters:
    K - Key type.
    V - Value type.
    All Implemented Interfaces:
    Iterable<Map.Entry<K,​V>>, Collection<Map.Entry<K,​V>>, Set<Map.Entry<K,​V>>, SortedSet<Map.Entry<K,​V>>

    @Deprecated
    public class TreeEntrySet<K extends Comparable,​V>
    extends AbstractSet<Map.Entry<K,​V>>
    implements SortedSet<Map.Entry<K,​V>>
    Deprecated.
    Deprecated.
    Navigable set of map entries. Generally used to back a map implementation. This set rejects null values entries but accepts entries with the null key. Items are sorted by entry key and then by the identity hash code of the entry value. For both comparisons, null comes before any object. Note that, if an instance of this class is used to back a map, it is up to the client to prevent duplicate keys. TODO: better concurrent modification trapping.