class SortedRangeList implements Iterable<Range> {

	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;
	}

	public  SortedRangeList();
	public  SortedRangeList(SortedRangeList list);

}