set

fun set(key: K, value: V)(source)

Associates key with value, replacing any existing entry.