(Cut<C> lowerBound, Cut<C> upperBound)
| 344 | final Cut<C> upperBound; |
| 345 | |
| 346 | private Range(Cut<C> lowerBound, Cut<C> upperBound) { |
| 347 | this.lowerBound = checkNotNull(lowerBound); |
| 348 | this.upperBound = checkNotNull(upperBound); |
| 349 | if (lowerBound.compareTo(upperBound) > 0 |
| 350 | || lowerBound == Cut.<C>aboveAll() |
| 351 | || upperBound == Cut.<C>belowAll()) { |
| 352 | throw new IllegalArgumentException("Invalid range: " + toString(lowerBound, upperBound)); |
| 353 | } |
| 354 | } |
| 355 | |
| 356 | /** |
| 357 | * Returns {@code true} if this range has a lower endpoint. |
nothing calls this directly
no test coverage detected