IntIntMap

class IntIntMap

Constructors

Link copied to clipboard
constructor(initialCapacity: Int = 16, loadFactor: Double = 0.75)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Entry(var key: Int, var value: Int)
Link copied to clipboard
class Iterator(val map: IntIntMap)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var size: Int
Link copied to clipboard

Functions

Link copied to clipboard
fun clear()
Link copied to clipboard
Link copied to clipboard
operator fun contains(key: Int): Boolean
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
inline fun fastForEach(callback: (key: Int, value: Int) -> Unit)
Link copied to clipboard
inline fun fastKeyForEach(callback: (key: Int) -> Unit)
Link copied to clipboard
inline fun fastValueForEach(callback: (value: Int) -> Unit)
Link copied to clipboard
operator fun get(key: Int): Int
Link copied to clipboard
fun getOrPut(key: Int, callback: () -> Int): Int
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun remove(key: Int): Boolean
Link copied to clipboard
operator fun set(key: Int, value: Int): Int
Link copied to clipboard
fun toMap(out: MutableMap<Int, Int> = linkedHashMapOf()): Map<Int, Int>
Link copied to clipboard
open override fun toString(): String