get

open fun get(key: T): Y

Returns the item in the cache for the given key or null if no such item exists.

Parameters

key

The key to check.