Package 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

    Modifier and Type
    Method
    Description
    Returns the key of this mapping
    Returns the value of this mapping
  • Method Details

    • 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