- All Known Subinterfaces:
Cache.MutableEntry<K,V>
- All Known Implementing Classes:
CacheEntry
- Enclosing interface:
Cache<K,V>
public static interface Cache.Entry<K,V>
A cache entry (key-value pair).
-
Method Summary
Returns the key corresponding to this entry.
Returns the value stored in the cache when this entry was created.
-
Method Details
-
getKey
Returns the key corresponding to this entry.
- Returns:
- the key corresponding to this entry
-
getValue
Returns the value stored in the cache when this entry was created.
- Returns:
- the value corresponding to this entry