remove method

  1. @override
CacheEntry<K, V>? remove(
  1. K key
)
override

removes the entry at position key. Returns the entry or null. Note that the entry is already evicted.

Implementation

@override
CacheEntry<K, V>? remove(K key) {
  CacheEntry<K, V>? ce = super.remove(key);
  if (ce != null) ++_removed;
  return ce;
}