K
- keyV
- valuepublic final class ImmutableMap<K,V>
extends java.util.AbstractMap<K,V>
constructor
, and Entries are linked and thread-safe.
The map is immutable with linear list of entries.Modifier and Type | Class and Description |
---|---|
(package private) static class |
ImmutableMap.Node<K,V> |
Modifier and Type | Field and Description |
---|---|
private ImmutableMap.Node<K,V> |
first |
Constructor and Description |
---|
ImmutableMap(java.util.Map<K,V> map) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
private final ImmutableMap.Node<K,V> first