set

operator fun set(key: String, value: Any)(source)

Associates the provided key with the provided value. If the key already exists, it is overwritten with the new value.

Parameters

key

A unique identifier.

value

The value to associate with the provided key.

See also


operator fun set(key: Int, value: Any)(source)