|
tauZaman v0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tauzaman.calendricsystem.granularitylattice.cache.Cache
Constructor Summary | |
Cache(int cacheSize)
Constructs a Cache object of a given size. |
Method Summary | |
java.lang.Object |
get(java.lang.Object key)
Gets an element from the cache. |
java.lang.Object |
insert(java.lang.Object key,
java.lang.Object value)
Inserts an entry into the cache. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Cache(int cacheSize)
Cache
object of a given size.
cacheSize
- the (maximal) size of the cacheMethod Detail |
public java.lang.Object insert(java.lang.Object key, java.lang.Object value)
key
- the value by with the element is indexed in the cachevalue
- the element to be cached
public java.lang.Object get(java.lang.Object key)
key
- the value which indexes the element to be gotten
|
tauZaman v0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |