(Cut<C> lowerBound, Cut<C> upperBound)
| 363 | final Cut<C> upperBound; |
| 364 | |
| 365 | private Range(Cut<C> lowerBound, Cut<C> upperBound) { |
| 366 | this.lowerBound = checkNotNull(lowerBound); |
| 367 | this.upperBound = checkNotNull(upperBound); |
| 368 | if (lowerBound.compareTo(upperBound) > 0 || lowerBound == Cut.<C>aboveAll() |
| 369 | || upperBound == Cut.<C>belowAll()) { |
| 370 | throw new IllegalArgumentException("Invalid range: " + toString(lowerBound, upperBound)); |
| 371 | } |
| 372 | } |
| 373 | |
| 374 | /** |
| 375 | * Returns {@code true} if this range has a lower endpoint. |
nothing calls this directly
no test coverage detected