put

abstract fun put(key: K, value: V)(source)

Associates value with key in this cache. If the cache previously contained a value associated with key, the old value is replaced by value.

Parameters

key

The key to be used as index.

value

The value to be stored.