FastIdentityMap

expect class FastIdentityMap<K, V>
actual class FastIdentityMap<K, V>
actual class FastIdentityMap<K, V>
actual class FastIdentityMap<K, V>

Constructors

Link copied to clipboard
constructor(dummy: Boolean)
constructor(dummy: Boolean)
constructor(dummy: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
val map: <Error class: unknown class>
Link copied to clipboard
val size: Int
Link copied to clipboard
expect val <K, V> FastIdentityMap<K, V>.size: Int
actual val <K, V> FastIdentityMap<K, V>.size: Int
actual val <K, V> FastIdentityMap<K, V>.size: Int
actual val <K, V> FastIdentityMap<K, V>.size: Int
Link copied to clipboard

Functions

Link copied to clipboard
expect fun <K, V> FastIdentityMap<K, V>.clear()
actual fun <K, V> FastIdentityMap<K, V>.clear()
actual fun <K, V> FastIdentityMap<K, V>.clear()
actual fun <K, V> FastIdentityMap<K, V>.clear()
Link copied to clipboard
expect operator fun <K, V> FastIdentityMap<K, V>.contains(key: K): Boolean
actual operator fun <K, V> FastIdentityMap<K, V>.contains(key: K): Boolean
actual operator fun <K, V> FastIdentityMap<K, V>.contains(key: K): Boolean
actual operator fun <K, V> FastIdentityMap<K, V>.contains(key: K): Boolean
Link copied to clipboard
inline fun <K, V : Any> FastIdentityMap<K, V>.fastForEach(callback: (key: K, value: V) -> Unit)
Link copied to clipboard
inline fun <K, V> FastIdentityMap<K, V>.fastForEachNullable(callback: (key: K, value: V?) -> Unit)
Link copied to clipboard
expect inline fun <K, V> FastIdentityMap<K, V>.fastKeyForEach(callback: (key: K) -> Unit)
actual inline fun <K, V> FastIdentityMap<K, V>.fastKeyForEach(callback: (key: K) -> Unit)
actual inline fun <K, V> FastIdentityMap<K, V>.fastKeyForEach(callback: (key: K) -> Unit)
actual inline fun <K, V> FastIdentityMap<K, V>.fastKeyForEach(callback: (key: K) -> Unit)
Link copied to clipboard
inline fun <K, V : Any> FastIdentityMap<K, V>.fastValueForEach(callback: (value: V) -> Unit)
Link copied to clipboard
inline fun <K, V> FastIdentityMap<K, V>.fastValueForEachNullable(callback: (value: V?) -> Unit)
Link copied to clipboard
expect operator fun <K, V> FastIdentityMap<K, V>.get(key: K): V?
actual operator fun <K, V> FastIdentityMap<K, V>.get(key: K): V?
actual operator fun <K, V> FastIdentityMap<K, V>.get(key: K): V?
actual operator fun <K, V> FastIdentityMap<K, V>.get(key: K): V?
Link copied to clipboard
fun <K, V> FastIdentityMap<K, V>.getAndRemove(key: K): V?
Link copied to clipboard
inline fun <K, V> FastIdentityMap<K, V>.getNull(key: K?): V?
Link copied to clipboard
inline fun <K, V> FastIdentityMap<K, V>.getOrPut(key: K, callback: (K) -> V): V
Link copied to clipboard
expect fun <K, V> FastIdentityMap<K, V>.keys(): List<K>
actual fun <K, V> FastIdentityMap<K, V>.keys(): List<K>
actual fun <K, V> FastIdentityMap<K, V>.keys(): List<K>
actual fun <K, V> FastIdentityMap<K, V>.keys(): List<K>
Link copied to clipboard
expect fun <K, V> FastIdentityMap<K, V>.remove(key: K)
actual fun <K, V> FastIdentityMap<K, V>.remove(key: K)
actual fun <K, V> FastIdentityMap<K, V>.remove(key: K)
actual fun <K, V> FastIdentityMap<K, V>.remove(key: K)
Link copied to clipboard
expect operator fun <K, V> FastIdentityMap<K, V>.set(key: K, value: V)
actual operator fun <K, V> FastIdentityMap<K, V>.set(key: K, value: V)
actual operator fun <K, V> FastIdentityMap<K, V>.set(key: K, value: V)
actual operator fun <K, V> FastIdentityMap<K, V>.set(key: K, value: V)
Link copied to clipboard
fun <K, V> FastIdentityMap<K, V>.toMap(): Map<K, V>