Class ReplacementForConcurrentHashMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
de.inetsoftware.jwebassembly.api.java.util.concurrent.ReplacementForConcurrentHashMap<K,V>
- All Implemented Interfaces:
Serializable
,Cloneable
,ConcurrentMap<K,
,V> Map<K,
V>
public class ReplacementForConcurrentHashMap<K,V>
extends HashMap<K,V>
implements ConcurrentMap<K,V>
Replacement java.util.concurrent.ConcurrentHashMap.
This implementation work without Unsafe an WebAssembly is single thread currently.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
ConstructorsConstructorDescriptionReplacementForConcurrentHashMap
(int initialCapacity, float loadFactor, int concurrencyLevel) -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.concurrent.ConcurrentMap
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
ReplacementForConcurrentHashMap
public ReplacementForConcurrentHashMap() -
ReplacementForConcurrentHashMap
public ReplacementForConcurrentHashMap(int initialCapacity, float loadFactor, int concurrencyLevel)
-