public synchronized V remove(K key) {
		CachedValue removed = map.remove(key);
		if (removed == null) {
			return null;
		}
		valueRemoved(removed.getKey(), removed.getValue());
		return removed.value;
	}
Removes the cache entry with the given key.
@param key the key of the entry to remove
@return the value removed or null if the key wasn't in the cache
Ghidra/Framework/Generic/src/main/java/ghidra/util/timer/GTimerCache.java