Constructor and Description |
---|
WeakValueHashMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear all entries out of the map.
|
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key)
Look up a value by key.
|
boolean |
isEmpty() |
Set<K> |
keySet() |
V |
put(K key,
V value)
Add a value.
|
void |
putAll(Map<? extends K,? extends V> m) |
V |
remove(Object key)
Remove an entry from the map.
|
int |
size() |
Collection<V> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public void clear()
public boolean containsKey(Object key)
containsKey
in interface Map<K,V>
public boolean containsValue(Object value)
containsValue
in interface Map<K,V>
Copyright © 2004-2016. All Rights Reserved.