Interface PMap<K,V>
- Type Parameters:
K-V-
- All Superinterfaces:
Map<K,V>
- All Known Subinterfaces:
PSortedMap<K,V>
- All Known Implementing Classes:
HashPMap, IntTreePMap, OrderedPMap, TreePMap
An immutable, persistent map from keys of type K to values of type V.
Some implementations may not support null keys and/or values, in which case they will throw
NullPointerException for attempts to add such keys/values.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Deprecated.minusAll(Collection<?> keys) Deprecated.voidDeprecated.Deprecated.Methods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, values
-
Method Details
-
plus
-
plusAll
-
minus
-
minusAll
- Parameters:
keys-- Returns:
- a map with the mappings of this but with no value for any element of keys
-
put
-
remove
-
putAll
-
clear
-