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, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.