Class ConcurrentWeakMapV>
java.lang.Object
com.itextpdf.commons.datastructures.ConcurrentWeakMapV>
- Type Parameters:
-
K
- type of the keys -
V
- type of the values
- All Implemented Interfaces:
-
Map
V>
Concurrent weak hash map implementation.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
boolean
isEmpty()
keySet()
void
int
size()
values()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
ConcurrentWeakMap
public ConcurrentWeakMap()
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
-
containsKey
in interfaceMap<K,
V>
-
containsValue
- Specified by:
-
containsValue
in interfaceMap<K,
V>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-