set

fun set(value: C)(source)

Sets the value associated with the specific key and type in the container.

Replaces the current value in the container for the given key with the new value provided. This operation may overwrite any existing value for the same key and type.

Parameters

value

The value to set in the container for the specified key and type.