put

open fun put(key: Int, value: Float)

Adds a mapping from the specified key to the specified value, replacing the previous mapping from the specified key if there was one.