Class ImmutableMap<K,​V>

  • Type Parameters:
    K - key
    V - value
    All Implemented Interfaces:
    Map<K,​V>

    public final class ImmutableMap<K,​V>
    extends AbstractMap<K,​V>
    Copies input map in constructor, and Entries are linked and thread-safe. The map is immutable with linear list of entries.
    Since:
    2.20