private void addToHardCache(T obj) {
		hardCache.addLast(obj);
		if (hardCache.size() > hardCacheSize) {
			hardCache.removeFirst();
		}
	}
Removes the object with the given key from the cache.
@param key the key of the object to remove.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/DBObjectCache.java