@Override
	public V remove(Object key) {
		processQueue();
		WeakValue<V> v = hash.get(key);
		V oldValue = null;
		if (v != null) {
			reverseHash.remove(v);
			hash.remove(key);
			oldValue = v.get();
		}
		return oldValue;
	}
Removes the mapping for the given <code>key</code> from this map, if
present.

@param  key  The key whose mapping is to be removed

@return  The value to which this key was mapped, or <code>null</code> if
         there was no mapping for the key
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/pcodeCPort/utils/WeakHashMap2.java