public Range getRange(int index) {
		Iterator<Range> it = set.iterator();
		while (index > 0 && it.hasNext()) {
			it.next();
			index--;
		}
		if (index == 0 && it.hasNext()) {
			return it.next();
		}
		return null;
	}
Gets the nth range in this list as indicated by the value of index.
@param index value indicating which nth range to get.
@return the range or null if there is no such range in this list.
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/SortedRangeList.java