org.ehcache
Interface Cache.Entry<K,V>

Type Parameters:
K - the key type
V - the value type
Enclosing interface:
Cache<K,V>

public static interface Cache.Entry<K,V>

A mapping of key to value held in a Cache.


Method Summary
 K getKey()
          Returns the key of this mapping
 V getValue()
          Returns the value of this mapping
 

Method Detail

getKey

K getKey()
Returns the key of this mapping

Returns:
the key, not null

getValue

V getValue()
Returns the value of this mapping

Returns:
the value, not null