javax.cache
Interface Cache.Entry<K,V>

Enclosing interface:
Cache<K,V>

public static interface Cache.Entry<K,V>

A cache entry (key-value pair).


Method Summary
 K getKey()
          Returns the key corresponding to this entry.
 V getValue()
          Returns the value stored in the cache when this entry was created.
 

Method Detail

getKey

K getKey()
Returns the key corresponding to this entry.

Returns:
the key corresponding to this entry

getValue

V getValue()
Returns the value stored in the cache when this entry was created.

Returns:
the value corresponding to this entry


Copyright © 2011. All Rights Reserved.