remove

fun remove(key: K): Boolean

Removes item from the cache by key.

Return

true if item was in the cache; false otherwise.