WeakMap

expect class WeakMap<K : Any, V>
actual class WeakMap<K : Any, V>
actual class WeakMap<K : Any, V>
actual class WeakMap<K : Any, V>

Constructors

Link copied to clipboard
expect constructor()
constructor()
constructor()
constructor()

Types

Link copied to clipboard
inner class Bucket

Properties

Link copied to clipboard
val wm: <Error class: unknown class>

Functions

Link copied to clipboard
expect operator fun contains(key: K): Boolean
actual operator fun contains(key: K): Boolean
actual operator fun contains(key: K): Boolean
actual operator fun contains(key: K): Boolean
Link copied to clipboard
expect operator fun get(key: K): V?
actual operator fun get(key: K): V?
actual operator fun get(key: K): V?
actual operator fun get(key: K): V?
Link copied to clipboard
inline fun <K : Any, V> WeakMap<K, V>.getOrPut(key: K, value: (K) -> V): V
Link copied to clipboard
expect fun remove(key: K)
actual fun remove(key: K)
actual fun remove(key: K)
actual fun remove(key: K)
Link copied to clipboard
expect operator fun set(key: K, value: V)
actual operator fun set(key: K, value: V)
actual operator fun set(key: K, value: V)
actual operator fun set(key: K, value: V)