interface Entry<out K, out V>
Represents a key/value pair held by a Map.
Returns the key of this key/value pair.
abstract val key: K
Returns the value of this key/value pair.
abstract val value: V
Returns the key component of the map entry.
operator fun <K, V> Entry<K, V>.component1(): K
Returns the value component of the map entry.
operator fun <K, V> Entry<K, V>.component2(): V
Represents a key/value pair held by a MutableMap.
interface MutableEntry<K, V> : Entry<K, V>
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/-entry/index.html