K - keyV - valuepublic final class ImmutableMap<K,V> extends AbstractMap<K,V>
constructor, and Entries are linked and thread-safe.
The map is immutable with linear list of entries.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ImmutableMap(Map<K,V> map) |
| Modifier and Type | Method and Description |
|---|---|
Set<Map.Entry<K,V>> |
entrySet() |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.