Returns a range that contains all values less than or equal to endpoint. @since 14.0
(C endpoint)
| 239 | |
| 240 | |
| 241 | public static <C extends Comparable<?>> Range<C> atMost(C endpoint) { |
| 242 | return create(Cut.<C>belowAll(), Cut.aboveValue(endpoint)); |
| 243 | } |
| 244 | |
| 245 | /** |
| 246 | * Returns a range with no lower bound up to the given endpoint, which may be |
no test coverage detected