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>

Represent a mapping of key to value held in a Cache


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

Method Detail

getKey

K getKey()
Accessor to the key of this mapping

Returns:
the key, not null

getValue

V getValue()
Accessor to the value of this mapping

Returns:
the value, not null