Class MapHelper.AbstractImmutableMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
de.s42.base.collections.MapHelper.AbstractImmutableMap<K,V>
- All Implemented Interfaces:
Map<K,V>
- Direct Known Subclasses:
MapHelper.Map1,MapHelper.MapN
- Enclosing class:
MapHelper
- Author:
- Benjamin.Schiller
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()computeIfAbsent(K key, Function<? super K, ? extends V> mf) computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> rf) getOrDefault(Object key, V defaultValue) voidputIfAbsent(K key, V value) booleanbooleanvoidreplaceAll(BiFunction<? super K, ? super V, ? extends V> f) Methods inherited from class java.util.AbstractMap
clone, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, size, toString, values
-
Constructor Details
-
AbstractImmutableMap
AbstractImmutableMap()
-
-
Method Details
-
clear
-
compute
-
computeIfAbsent
-
computeIfPresent
-
merge
-
put
-
putAll
-
putIfAbsent
-
remove
-
remove
-
replace
-
replace
-
replaceAll
-
getOrDefault
-