Package org.infinispan.commons.util
Class AbstractDelegatingMap<K,V>
java.lang.Object
org.infinispan.commons.util.AbstractDelegatingMap<K,V>
- All Implemented Interfaces:
Map<K,V>
- Direct Known Subclasses:
AbstractDelegatingConcurrentMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) booleancontainsKey(Object key) booleancontainsValue(Object value) delegate()entrySet()voidforEach(BiConsumer<? super K, ? super V> action) getOrDefault(Object key, V defaultValue) booleanisEmpty()keySet()voidputIfAbsent(K key, V value) booleanbooleanvoidreplaceAll(BiFunction<? super K, ? super V, ? extends V> function) intsize()values()
-
Constructor Details
-
AbstractDelegatingMap
public AbstractDelegatingMap()
-
-
Method Details
-
delegate
-
putIfAbsent
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
-
containsValue
-
get
-
getOrDefault
-
put
-
remove
-
remove
-
replace
-
replace
-
replaceAll
-
compute
-
computeIfAbsent
-
computeIfPresent
-
merge
-
forEach
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-