Class LinkedIdentityHashMap<K,​V>

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

    public class LinkedIdentityHashMap<K,​V>
    extends IdentityHashMap<K,​V>
    Utility IdentityHashMap implementation that maintains predictable iteration order, with special care for keys iteration efficiency, and uses reference equality (i.e. ==) in place of object-equality when comparing keys.

    Note that the keySet(), values() and entrySet() methods for this class return unmodifiable collections and are only meant for iteration.

    See Also:
    Serialized Form