|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.biojava.utils.cache.WeakCacheMap
A cache which retains weak references to objects
| Constructor Summary | |
WeakCacheMap()
|
|
| Method Summary | |
Object |
get(Object key)
Retrieve the Object associated with the key, or null if either no value has been associated or if the key's value has been cleared by the cache. |
void |
put(Object key,
Object value)
Associate a value with a key. |
void |
remove(Object key)
Explicitly remove an object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WeakCacheMap()
| Method Detail |
public void put(Object key,
Object value)
CacheMap
put in interface CacheMapkey - the key Objectvalue - the Object to associate with the keypublic Object get(Object key)
CacheMap
get in interface CacheMapkey - the key Object
public void remove(Object key)
CacheMap
remove in interface CacheMapkey - the item to remove
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||