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