setValue

abstract fun setValue(newValue: V): V(source)

Replaces this entry's value, leaving its key unchanged.

Return

the previous value, including null for nullable value types.

Parameters

newValue

replacement value.