protected D getNextOrSame(D d) {
		D next = getNext(d);
		if (next == null) {
			return d;
		}
		return next;
	}
Get the next bound or this same bound, if the next doesn't exist

@param d the bound
@return the next or same bound
Ghidra/Framework/Emulation/src/main/java/generic/RangeMapSetter.java