public class MultiConcurrentHashMap<K,V,E> extends ConcurrentHashMap<K,ConcurrentHashMap<V,E>> implements MultiMap<K,V,E,ConcurrentHashMap<V,E>>, Serializable
ConcurrentHashMap.KeySetView<K,V>AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MultiConcurrentHashMap() |
MultiConcurrentHashMap(int initialCapacity) |
MultiConcurrentHashMap(int keyInitialCapacity,
int valueInitialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
ConcurrentHashMap<V,E> |
computeSpace(K e)
开辟空间
|
static <K,V,E> MultiConcurrentHashMap<K,V,E> |
create() |
void |
valueInitialCapacity(int valueInitialCapacity)
设置 value 初始化空间
|
clear, compute, computeIfAbsent, 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, valuesclonefinalize, getClass, notify, notifyAll, wait, wait, waitclear, containsKey, entrySet, forEach, get, getOrDefault, getOrDefault, isEmpty, put, putAll, removeElement, removeElement, size, valuesclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic MultiConcurrentHashMap()
public MultiConcurrentHashMap(int initialCapacity)
public MultiConcurrentHashMap(int keyInitialCapacity,
int valueInitialCapacity)
public static <K,V,E> MultiConcurrentHashMap<K,V,E> create()
public void valueInitialCapacity(int valueInitialCapacity)
valueInitialCapacity - value 初始化空间public ConcurrentHashMap<V,E> computeSpace(K e)
MultiMapcomputeSpace in interface MultiMap<K,V,E,ConcurrentHashMap<V,E>>e - eCopyright © 2025. All rights reserved.