default String toMaxString(N max, Function<? super N, String> nToString) {
			return max().equals(max) ? "+inf)" : (nToString.apply(max) + "]");
		}
Render the upper bound of a span

@param max the upper bound
@param nToString a function to convert n to a string
@return the string
Ghidra/Framework/Emulation/src/main/java/generic/Span.java