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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
computeIfAbsent
(K key, Function<? super K, ? extends V> mappingFunction) computeIfPresent
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) boolean
containsKey
(Object key) boolean
containsValue
(Object value) delegate()
entrySet()
void
forEach
(BiConsumer<? super K, ? super V> action) getOrDefault
(Object key, V defaultValue) boolean
isEmpty()
keySet()
void
putIfAbsent
(K key, V value) boolean
boolean
void
replaceAll
(BiFunction<? super K, ? super V, ? extends V> function) int
size()
values()
-
Constructor Details
-
AbstractDelegatingMap
public AbstractDelegatingMap()
-
-
Method Details
-
delegate
-
putIfAbsent
- Specified by:
putIfAbsent
in interfaceMap<K,
V>
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap<K,
V>
-
containsValue
- Specified by:
containsValue
in interfaceMap<K,
V>
-
get
-
getOrDefault
- Specified by:
getOrDefault
in interfaceMap<K,
V>
-
put
-
remove
-
remove
-
replace
-
replace
-
replaceAll
- Specified by:
replaceAll
in interfaceMap<K,
V>
-
compute
-
computeIfAbsent
- Specified by:
computeIfAbsent
in interfaceMap<K,
V>
-
computeIfPresent
- Specified by:
computeIfPresent
in interfaceMap<K,
V>
-
merge
-
forEach
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-