invalidate

abstract fun invalidate(key: K): V?

Invalidates key in the cache.


abstract fun invalidate(key: K, value: V): Boolean

Invalidates key in this cache if its value equals to value.