Package org.jboss.weld.util.collections
Class AbstractImmutableMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
org.jboss.weld.util.collections.AbstractImmutableMap<K,V>
- Type Parameters:
K- the key typeV- the value type
- All Implemented Interfaces:
Map<K,V>
- Direct Known Subclasses:
ImmutableMap
Common implementation for all immutable map implementations.
- Author:
- Jozef Hartinger
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractMap
clone, containsKey, containsValue, entrySet, equals, get, hashCode, keySet, size, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
AbstractImmutableMap
public AbstractImmutableMap()
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
put
-
remove
-
putAll
-
clear
public void clear()
-