Entry
Represents a key/value pair held by a Map.
Properties
key
Returns the key of this key/value pair.
abstract val key: Kvalue
Returns the value of this key/value pair.
abstract val value: VExtension Functions
component1
Returns the key component of the map entry.
operator fun <K, V> Entry<K, V>.component1(): Kcomponent2
Returns the value component of the map entry.
operator fun <K, V> Entry<K, V>.component2(): VInheritors
MutableEntry
Represents a key/value pair held by a MutableMap.
interface MutableEntry<K, V> : Entry<K, V>