MutableEntry

interface MutableEntry<K, V> : Map.Entry<K, V> (source)

Represents a key/value pair held by a MutableMap.

Since Kotlin

1.0

Functions

Link copied to clipboard
abstract fun setValue(newValue: V): V

Changes the value associated with the key of this entry.

Since Kotlin 1.0

Properties

Link copied to clipboard
abstract val key: K

Returns the key of this key/value pair.

Since Kotlin 1.0
Link copied to clipboard
abstract val value: V

Returns the value of this key/value pair.

Since Kotlin 1.0