K - Key typeV - Value typepublic abstract class ImmutableNullableMap<K,V> extends AbstractMap<K,V>
If the map cannot contain null values, use ImmutableMap.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Method and Description |
|---|---|
static <K,V> Map<K,V> |
copyOf(Map<? extends K,? extends V> map)
Returns an immutable map containing the given elements.
|
static <K,V> Map<K,V> |
copyOf(SortedMap<? extends K,? extends V> map)
Returns an immutable navigable map containing the given entries.
|
clear, clone, containsKey, containsValue, entrySet, 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 © 2012-2022 Apache Software Foundation. All Rights Reserved.