remove

abstract fun remove(key: K): V?(source)

Remove the value of the key from the cache, and return the removed value, or null if it's not cached at all.