|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--lima.storage.SimpleCache
A trivial cache that only remembers the last object that was stored.
| Constructor Summary | |
SimpleCache()
|
|
| Method Summary | |
java.lang.Object |
getObject(int name)
Get the object in the cache that was last checked in under the name int. |
void |
putObject(int name,
java.lang.Object data)
Object data into the cache under the name name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleCache()
| Method Detail |
public void putObject(int name,
java.lang.Object data)
Cache
putObject in interface Cachename - - A unique integer name for the objectCache.putObject(int, java.lang.Object)public java.lang.Object getObject(int name)
Cache
getObject in interface Cachename -
Cache.getObject(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||