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 |
entrySet()
Get the entries.
|
Object |
get(Object key)
Get value for key.
|
boolean |
isEmpty()
Check if empty.
|
Set |
keySet()
Get the key set.
|
Object |
put(Object key,
Object value)
Add value for key.
|
void |
putAll(Map m)
Add all mappings.
|
Object |
remove(Object key)
Remove value for key.
|
int |
size()
Get the size.
|
Collection |
values()
Get the values.
|
public boolean containsKey(Object key)
containsKey
in interface Map
public boolean containsValue(Object value)
containsValue
in interface Map
public Collection values()
Copyright © 2012. All Rights Reserved.