public class ConcurrentHashMapEx<K,V> extends ConcurrentHashMap<K,V>
ConcurrentHashMap.KeySetView<K,V>AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ConcurrentHashMapEx() |
ConcurrentHashMapEx(int initialCapacity) |
ConcurrentHashMapEx(int initialCapacity,
float loadFactor) |
ConcurrentHashMapEx(int initialCapacity,
float loadFactor,
int concurrencyLevel) |
ConcurrentHashMapEx(Map<? extends K,? extends V> m) |
| Modifier and Type | Method and Description |
|---|---|
V |
computeIfAbsent(K key,
Function<? super K,? extends V> mappingFunction) |
clear, compute, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, valuesclonepublic ConcurrentHashMapEx()
public ConcurrentHashMapEx(int initialCapacity)
public ConcurrentHashMapEx(int initialCapacity,
float loadFactor)
public ConcurrentHashMapEx(int initialCapacity,
float loadFactor,
int concurrencyLevel)
public V computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
computeIfAbsent in interface ConcurrentMap<K,V>computeIfAbsent in interface Map<K,V>computeIfAbsent in class ConcurrentHashMap<K,V>Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.