ConcurrentWeakHashMapCache

abstract class ConcurrentWeakHashMapCache<K : Any, V : Any>

Constructors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
abstract class KeyRefNode<K : Any, V : Any>(keyRef: Reference<K>)

Functions

Link copied to clipboard
Link copied to clipboard
fun get(key: K): V?
Link copied to clipboard
fun internKey(key: K, valueStub: V): K
Link copied to clipboard
abstract fun lookupKey(key: K): Any
Link copied to clipboard
abstract fun newNode(key: K, referenceQueue: ReferenceQueue<K>, value: V, hash: Int): ConcurrentWeakHashMapCache.KeyRefNode<K, V>
Link copied to clipboard
fun put(key: K, value: V, onlyIfAbsent: Boolean): V?

Inheritors

Link copied to clipboard
Link copied to clipboard