-
- All Implemented Interfaces:
-
java.util.Map
public class JvmMockKWeakMap<K, V> implements Map<K, V>
-
-
Method Summary
Modifier and Type Method Description 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
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, copyOf, entry, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, of, ofEntries, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values -
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()
-
-
-
-