|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- exact key typeV
- value key typepublic interface Cache<K,V>
Simple cache interface.
Method Summary | |
---|---|
void |
clear()
Clear node. |
V |
get(K key)
Get value under key. |
V |
put(K key,
V value)
Put value under key. |
V |
remove(K key)
Remove value under key. |
Method Detail |
---|
V put(K key, V value)
key
- the keyvalue
- the value
V get(K key)
key
- the key
V remove(K key)
key
- the key
void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |