get

abstract operator fun get(key: K): Optional<out V>

Retrieves the cached value corresponding to the provided key

Return

the value corresponding to key, if any

Parameters

key

is the key used for indexing the pair