Package org.aoju.bus.core.map
Class WeakMap<K,V>
java.lang.Object
org.aoju.bus.core.map.ReferenceMap<K,V>
org.aoju.bus.core.map.WeakMap<K,V>
- Type Parameters:
K- 键类型V- 值类型
- All Implemented Interfaces:
Serializable,Iterable<Map.Entry<K,,V>> ConcurrentMap<K,,V> Map<K,V>
线程安全的WeakMap实现 参考:jdk.management.resource.internal.WeakKeyConcurrentHashMap
- Since:
- Java 17+
- Author:
- Kimi Liu
- See Also:
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.aoju.bus.core.map.ReferenceMap
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, isEmpty, iterator, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, setPurgeListener, size, valuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.ConcurrentMap
getOrDefaultMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
WeakMap
public WeakMap()构造 -
WeakMap
-