@Override
	public int compareTo(Range other) {
		if (min == other.min) {
			return 0;
		}
		else if (min > other.min) {
			return 1;
		}
		return -1;
	}
Creates a range whose extent is from min to max.
@param min the minimum extent.
@param max the maximum extent (inclusive).
@throws IllegalArgumentException if max is less than min.
Ghidra/Framework/Utility/src/main/java/ghidra/util/datastruct/Range.java