default S closed(N min, N max) {
			if (compare(min, max) > 0) {
				throw new IllegalArgumentException("min > max: min=" + min + ",max=" + max);
			}
			return newSpan(min, max);
		}
Create a new span with the given endpoints, inclusive.

@param min the lower endpoint
@param max the upper endpoint
@return the span
@throws IllegalArgumentException if max is less than min
Ghidra/Framework/Emulation/src/main/java/generic/Span.java