Package com.yahoo.vespa.model.utils
Class FreezableMap<K,V>
java.lang.Object
com.yahoo.vespa.model.utils.FreezableMap<K,V>
- All Implemented Interfaces:
Map<K,V>
Delegates to a map that can be frozen.
Not thread safe.
- Author:
- Tony Vaagenes
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
FreezableMap
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
equals
-
hashCode
public int hashCode() -
freeze
public void freeze() -
isFrozen
public boolean isFrozen()
-