Constructor and Description |
---|
WeakValueMap()
Create a new weak value map.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the map.
|
boolean |
containsKey(Object key)
Test if key contained.
|
boolean |
containsValue(Object value)
Test if value contained.
|
Set<Map.Entry<K,V>> |
entrySet()
Get the entries.
|
V |
get(Object key)
Get value for key.
|
boolean |
isEmpty()
Check if empty.
|
Set<K> |
keySet()
Get the key set.
|
V |
put(K key,
V value)
Add value for key.
|
void |
putAll(Map<? extends K,? extends V> m)
Add all mappings.
|
V |
remove(Object key)
Remove value for key.
|
int |
size()
Get the size.
|
Collection<V> |
values()
Get the values.
|
public boolean containsKey(Object key)
containsKey
in interface Map<K,V>
public boolean containsValue(Object value)
containsValue
in interface Map<K,V>
Copyright © 2013. All Rights Reserved.