|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
java.lang.Object |
get(java.lang.Object key)
Retrieve an object from this cache. |
java.util.Collection |
getKeys()
Gets the keys of all objects currently stored in the cache. |
java.lang.String |
getName()
The name of the cache, uniquely identifies this cache. |
void |
put(java.lang.Object key,
java.lang.Object value)
Put an object into the cache. |
void |
remove(java.lang.Object key)
Remove the object identified by the key from the cache. |
void |
removeAll()
Remove all of the objects from this cache. |
Method Detail |
public java.lang.String getName()
public java.util.Collection getKeys()
Object
s keys.public java.lang.Object get(java.lang.Object key)
key
- uniquely identifying the object to be retrieved.
null
if the object is not found.public void put(java.lang.Object key, java.lang.Object value)
key
- uniquely identifying the object to be added into the cache.value
- to be cached.public void remove(java.lang.Object key)
key
- uniquely identifying the object to be removed.public void removeAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |