@Override
	public AddressRange next() {
		if (remainingRange == null) {
			return null;
		}
		if (isRangeSmallEnough()) {
			AddressRange returnValue = remainingRange;
			remainingRange = null;
			return returnValue;
		}
		return forward ? extractChunkFromStart() : extractChunkFromEnd();
	}
Constructor
@param range the address range to split apart
@param splitSize the max size of each sub range
@param forward if true, the sub ranges will be returned in address order; otherwise they
will be returned in reverse address order.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressRangeSplitter.java