get

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

Returns the value associated with key in this cache, or empty if there is no cached value for key.

Return

The value stored in cache if present.

Parameters

key

The key to look for.