- All Superinterfaces:
Map<K,V>
@Beta
public interface CloneableMap<K,V>
extends Map<K,V>
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
-
Method Summary
Create a clone of this map's contents.
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
-
createMutableClone
Map<K,V> createMutableClone()
Create a clone of this map's contents. This does not include the actual
keys and values, just the internal map state.
- Returns:
- An isolated, writable map.