upperEndpoint method
C
upperEndpoint()
Returns the upper endpoint of this range.
@throws IllegalStateException if this range is unbounded above (that is, {@link #hasUpperBound()} returns {@code false})
Implementation
C upperEndpoint() {
return upperBound.endpoint!;
}