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,ReadOnlySegmentAwareMap
-
Nested Class Summary
-
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
- Specified by:
putIfAbsentin interfaceMap<K,V>
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V>
-
get
-
getOrDefault
- Specified by:
getOrDefaultin interfaceMap<K,V>
-
put
-
remove
-
remove
-
replace
-
replace
-
replaceAll
- Specified by:
replaceAllin interfaceMap<K,V>
-
compute
-
computeIfAbsent
- Specified by:
computeIfAbsentin interfaceMap<K,V>
-
computeIfPresent
- Specified by:
computeIfPresentin interfaceMap<K,V>
-
merge
-
forEach
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-