|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.jini.collection.WeakIdentityMap
public class WeakIdentityMap
Identity-based weak hash map.
Constructor Summary | |
---|---|
WeakIdentityMap()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WeakIdentityMap()
Method Detail |
---|
public Object put(Object key, Object value)
public Object get(Object key)
public Object remove(Object key)
public Collection values()
public void clear()
|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |