private void remove(Link<T> link) {
		if (link.previousLink == null) {
			first = link.nextLink;
		}
		else {
			link.previousLink.nextLink = link.nextLink;
		}
		if (link.nextLink == null) {
			last = link.previousLink;
		}
		else {
			link.nextLink.previousLink = link.previousLink;
		}
		size--;
	}
Adds the given value to the store
@param value the instance being added to the store
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/WeakStore.java