set

abstract operator fun <P : Any, C : Any> set(key: String, type: PersistentDataType<P, C>, value: C)(source)

Sets the value associated with the specified key in this container.

This method will overwrite any existing value associated with the key.

Parameters

key

The key to set the value for.

type

The type of the value to set.

value

The value to set.