W3cubDocs

/Kotlin

MutableEntry

Platform and version requirements: JVM (1.0), JS (1.1), Native (1.3)
interface MutableEntry<K, V> : Entry<K, V>

Represents a key/value pair held by a MutableMap.

Functions

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)

setValue

Changes the value associated with the key of this entry.

abstract fun setValue(newValue: V): 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/-mutable-map/-mutable-entry/index.html