FastIntMap

expect class FastIntMap<T>
actual typealias FastIntMap<T> = IntMap<T>
actual class FastIntMap<T>(dummy: Boolean)

Constructors

Link copied to clipboard
constructor(dummy: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
expect val <T> FastIntMap<T>.size: Int
actual val <T> FastIntMap<T>.size: Int
Link copied to clipboard

Functions

Link copied to clipboard
expect fun <T> FastIntMap<T>.clear()
actual inline fun <T> FastIntMap<T>.clear()
Link copied to clipboard
expect operator fun <T> FastIntMap<T>.contains(key: Int): Boolean
actual inline operator fun <T> FastIntMap<T>.contains(key: Int): Boolean
Link copied to clipboard
inline fun <T : Any> FastIntMap<T>.fastForEach(callback: (key: Int, value: T) -> Unit)
Link copied to clipboard
inline fun <T> FastIntMap<T>.fastForEachNullable(callback: (key: Int, value: T?) -> Unit)
Link copied to clipboard
expect inline fun <T> FastIntMap<T>.fastKeyForEach(callback: (key: Int) -> Unit)
actual inline fun <T> FastIntMap<T>.fastKeyForEach(callback: (key: Int) -> Unit)
Link copied to clipboard
inline fun <T : Any> FastIntMap<T>.fastValueForEach(callback: (value: T) -> Unit)
Link copied to clipboard
inline fun <T> FastIntMap<T>.fastValueForEachNullable(callback: (value: T?) -> Unit)
Link copied to clipboard
expect operator fun <T> FastIntMap<T>.get(key: Int): T?
actual inline operator fun <T> FastIntMap<T>.get(key: Int): T?
Link copied to clipboard
inline fun <T> FastIntMap<T>.getNull(key: Int?): T?
Link copied to clipboard
inline fun <T> FastIntMap<T>.getOrPut(key: Int, callback: () -> T): T
Link copied to clipboard
expect fun <T> FastIntMap<T>.keys(): List<Int>
actual fun <T> FastIntMap<T>.keys(): List<Int>
Link copied to clipboard
expect fun <T> FastIntMap<T>.remove(key: Int)
actual inline fun <T> FastIntMap<T>.remove(key: Int)
Link copied to clipboard
expect fun <T> FastIntMap<T>.removeRange(src: Int, dst: Int)
actual inline fun <T> FastIntMap<T>.removeRange(src: Int, dst: Int)
Link copied to clipboard
expect operator fun <T> FastIntMap<T>.set(key: Int, value: T)
actual inline operator fun <T> FastIntMap<T>.set(key: Int, value: T)
Link copied to clipboard