public class WeakIdentityMap extends Object
Constructor and Description |
---|
WeakIdentityMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all associations from this map.
|
Object |
get(Object key)
Returns value associated with given key, or null if none.
|
Object |
put(Object key,
Object value)
Associates value with given key, returning value previously associated
with key, or null if none.
|
Object |
remove(Object key)
Removes association for given key, returning value previously associated
with key, or null if none.
|
Collection |
values()
Returns collection containing all values currently held in this map.
|
public Object put(Object key, Object value)
public Object remove(Object key)
public Collection values()
public void clear()
Copyright © GigaSpaces.