class SortedRangeList implements Iterable<Range> {

	public boolean contains(int value) {
		Range key = new Range(value, value);
		SortedSet<Range> head = set.headSet(key);
		if (!head.isEmpty()) {
			if (head.last().max >= value) {
				return true;
			}
		}
		return set.contains(key);
	}

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

}