commonMain.com.strumenta.antlrkotlin.runtime.IdentityHashMap.kt Maven / Gradle / Ivy
// Copyright 2017-present Strumenta and contributors, licensed under Apache 2.0.
// Copyright 2024-present Strumenta and contributors, licensed under BSD 3-Clause.
package com.strumenta.antlrkotlin.runtime
internal expect class IdentityHashMap() : MutableMap {
override val size: Int
override val entries: MutableSet>
override val keys: MutableSet
override val values: MutableCollection
override fun containsKey(key: K): Boolean
override fun containsValue(value: V): Boolean
override fun get(key: K): V?
override fun isEmpty(): Boolean
override fun clear()
override fun put(key: K, value: V): V?
override fun putAll(from: Map)
override fun remove(key: K): V?
}