v1.8.22
  • Solutions
    • Multiplatform
    • Server-side
    • Data science
    • Android
  • Docs
  • Community
  • Teach
  • Play
    • Playground
    • Hands-on
    • Examples
    • Koans
← Docs
kotlin-stdlib / kotlin.collections / MutableMap / MutableEntry

MutableEntry

Common
JVM
JS
Native
1.0
interface MutableEntry<K, V> : Entry<K, V>
(Common source) (Native source)

Represents a key/value pair held by a MutableMap.

Functions

Common
JVM
JS
Native
1.0

setValue

Changes the value associated with the key of this entry.

abstract fun setValue(newValue: V): V
Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Kotlin™ is protected under the Kotlin Foundation and licensed under the Apache 2 license.
Supported and developed by JetBrains