-
- All Implemented Interfaces:
-
java.util.Map
public class JvmMockKWeakMap<K, V> implements Map<K, V>
-
-
Method Summary
Modifier and Type Method Description Map<Object, V>getTarget()Vget(Object key)Vput(K key, V value)Vremove(Object key)intsize()booleanisEmpty()booleancontainsKey(Object key)booleancontainsValue(Object value)voidputAll(Map<out K, out V> m)voidclear()Set<K>keySet()Collection<V>values()Set<Map.Entry<K, V>>entrySet()-
Methods inherited from class java.util.Map
compute, computeIfAbsent, computeIfPresent, copyOf, entry, forEach, getOrDefault, merge, of, ofEntries, putIfAbsent, remove, replace, replace, replaceAll -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
size
int size()
-
isEmpty
boolean isEmpty()
-
containsKey
boolean containsKey(Object key)
-
containsValue
boolean containsValue(Object value)
-
clear
void clear()
-
values
Collection<V> values()
-
-
-
-