CachableMapWithDefault

class CachableMapWithDefault<K, V>(map: MutableMap<K, V> = mutableMapOf(), val default: (K) -> V) : CacheWithDefault<K, V>

Constructors

Link copied to clipboard
constructor(map: MutableMap<K, V> = mutableMapOf(), default: (K) -> V)

Properties

Link copied to clipboard
val default: (K) -> V

Functions

Link copied to clipboard
open override fun get(key: K): V