ConcurrentMapMemoizationCache

value class ConcurrentMapMemoizationCache<K, V>(cache: ConcurrentMap<K, V> = ConcurrentHashMap()) : MemoizationCache<K, V> (source)

Constructors

Link copied to clipboard
constructor(cache: ConcurrentMap<K, V> = ConcurrentHashMap())

Functions

Link copied to clipboard
open override fun get(key: K): V?
Link copied to clipboard
open override fun set(key: K, value: V): V