public interface ImmutableMap<K,V> extends Map<K,V>
Map. Does not permit null keys or values.| Modifier and Type | Method and Description |
|---|---|
ImmutableMap<K,V> |
copyAndPut(K key,
V value)
Creates an immutable copy of this map with the given entry put in the map.
|
ImmutableMap<K,V> |
copyAndRemove(K key)
Creates an immutable copy of this map with the given entry removed from the map.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesImmutableMap<K,V> copyAndPut(K key, V value)
ImmutableMap<K,V> copyAndRemove(K key)