private void deleteSmallKeyRanges(List<KeyRange> keyRanges) {
		for (KeyRange range : keyRanges) {
			for (long key = range.minKey; key <= range.maxKey; key++) {
				KeyedSoftReference<T> ref = map.remove(key);
				if (ref != null) {
					DatabaseObject obj = ref.get();
					if (obj != null) {
						obj.setDeleted();
						ref.clear();
					}
				}
			}
		}
	}
Delete all objects from cache whose key is contained
within the specified keyRanges.  Iteration over all
keys contained within keyRanges will be performed.
@param keyRanges key ranges to delete
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/DBObjectCache.java