Package ai.timefold.jpyinterpreter.util
Class ConcurrentWeakIdentityHashMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
ai.timefold.jpyinterpreter.util.ConcurrentWeakIdentityHashMap<K,V>
- All Implemented Interfaces:
ConcurrentMap<K,,V> Map<K,V>
public class ConcurrentWeakIdentityHashMap<K,V>
extends AbstractMap<K,V>
implements ConcurrentMap<K,V>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()putIfAbsent(K key, V value) booleanbooleanintsize()Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, isEmpty, keySet, putAll, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.concurrent.ConcurrentMap
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAll
-
Constructor Details
-
ConcurrentWeakIdentityHashMap
public ConcurrentWeakIdentityHashMap(int initialCapacity) -
ConcurrentWeakIdentityHashMap
public ConcurrentWeakIdentityHashMap()
-
-
Method Details
-
get
-
put
-
size
public int size() -
entrySet
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceConcurrentMap<K,V> - Specified by:
putIfAbsentin interfaceMap<K,V>
-
remove
-
remove
-
replace
-
replace
-
containsKey
- Specified by:
containsKeyin interfaceMap<K,V> - Overrides:
containsKeyin classAbstractMap<K,V>
-
clear
public void clear() -
containsValue
- Specified by:
containsValuein interfaceMap<K,V> - Overrides:
containsValuein classAbstractMap<K,V>
-