Class EntryProxy<K,​V>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.Map.Entry<K,​V>, javax.cache.Cache.Entry<K,​V>

    public final class EntryProxy<K,​V>
    extends java.util.AbstractMap.SimpleImmutableEntry<K,​V>
    implements javax.cache.Cache.Entry<K,​V>
    An implementation of JSR-107 Cache.Entry.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      EntryProxy​(K key, V value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T unwrap​(java.lang.Class<T> clazz)  
      • Methods inherited from class java.util.AbstractMap.SimpleImmutableEntry

        equals, getKey, getValue, hashCode, setValue, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface javax.cache.Cache.Entry

        getKey, getValue
    • Constructor Detail

      • EntryProxy

        EntryProxy​(K key,
                   V value)
    • Method Detail

      • unwrap

        public <T> T unwrap​(java.lang.Class<T> clazz)
        Specified by:
        unwrap in interface javax.cache.Cache.Entry<K,​V>