Class CloneBackedCache<K,​V extends GolangCloneable>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Map<K,​V> container  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      V get​(K key, java.util.function.Function<K,​V> constructor)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CloneBackedCache

        public CloneBackedCache()
    • Method Detail

      • get

        public V get​(K key,
                     java.util.function.Function<K,​V> constructor)
        Specified by:
        get in interface Cache<K,​V extends GolangCloneable>