W3cubDocs

/Kotlin

set

inline operator fun <K, V> MutableMap<K, V>.set(
    key: K, 
    value: V)

Allows to use the index operator for storing values in a mutable map.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/set.html