Returns the type of this range's upper bound: BoundType#CLOSED if the range includes its upper endpoint, BoundType#OPEN if it does not. @throws IllegalStateException if this range is unbounded above (that is, #hasUpperBound() returns false)
()
| 436 | |
| 437 | |
| 438 | public BoundType upperBoundType() { |
| 439 | return upperBound.typeAsUpperBound(); |
| 440 | } |
| 441 | |
| 442 | /** |
| 443 | * Returns {@code true} if this range is of the form {@code [v..v)} or {@code (v..v]}. (This does |
no test coverage detected