Package com.yahoo.vespa.model.utils
Class FreezableMap<K,V>
- java.lang.Object
-
- com.yahoo.vespa.model.utils.FreezableMap<K,V>
-
-
Constructor Summary
Constructors Constructor Description FreezableMap(Class<LinkedHashMap> mapClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object o)
boolean
containsValue(Object o)
Set<Map.Entry<K,V>>
entrySet()
boolean
equals(Object o)
void
freeze()
V
get(Object o)
int
hashCode()
boolean
isEmpty()
boolean
isFrozen()
Set<K>
keySet()
V
put(K key, V value)
void
putAll(Map<? extends K,? extends V> map)
V
remove(Object o)
int
size()
Collection<V>
values()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
FreezableMap
public FreezableMap(Class<LinkedHashMap> mapClass)
-
-
Method Detail
-
containsKey
public boolean containsKey(Object o)
- Specified by:
containsKey
in interfaceMap<K,V>
-
containsValue
public boolean containsValue(Object o)
- Specified by:
containsValue
in interfaceMap<K,V>
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
freeze
public void freeze()
-
isFrozen
public boolean isFrozen()
-
-