|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- the type of keys maintained by this cacheV
- the type of cached valuespublic interface KeyedReference<K,V>
Reference with an attached key to be used in a cache.
Although it cannot be enforced/checked at compilation time, the contract
for this interface is that all implementors MUST be subclasses of
Reference
.
Method Summary | |
---|---|
V |
get()
Gets the referenced value. |
K |
getKey()
Gets the key for this reference. |
Method Detail |
---|
K getKey()
V get()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |