Package org.opendaylight.yangtools.util
Interface UnmodifiableMapPhase<K,V>
- Type Parameters:
K
- the type of keys maintained by this mapV
- the type of mapped values
- All Known Implementing Classes:
ImmutableOffsetMap
,SharedSingletonMap
A
Map
which cannot be modified and supports efficient conversion to a ModifiableMapPhase
.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull ModifiableMapPhase<K,
V> Return an isolated modifiable version of this map.Methods inherited from interface java.util.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, values
-
Method Details
-
toModifiableMap
@NonNull ModifiableMapPhase<K,V> toModifiableMap()Return an isolated modifiable version of this map. Its mappings must match the mappings present in this map. Any modification of the returned map must not be affect the contents of this map.- Returns:
- An modifiable version of this map.
-