Lines Matching defs:endpoint
127 * upper}, where each endpoint may be either inclusive (closed) or exclusive
149 * endpoint}.
151 public static <C extends Comparable<?>> Range<C> lessThan(C endpoint) {
152 return create(Cut.<C>belowAll(), Cut.belowValue(endpoint));
157 * {@code endpoint}.
159 public static <C extends Comparable<?>> Range<C> atMost(C endpoint) {
160 return create(Cut.<C>belowAll(), Cut.aboveValue(endpoint));
164 * Returns a range with no lower bound up to the given endpoint, which may be
168 C endpoint, BoundType boundType) {
171 return lessThan(endpoint);
173 return atMost(endpoint);
181 * endpoint}.
183 public static <C extends Comparable<?>> Range<C> greaterThan(C endpoint) {
184 return create(Cut.aboveValue(endpoint), Cut.<C>aboveAll());
189 * {@code endpoint}.
191 public static <C extends Comparable<?>> Range<C> atLeast(C endpoint) {
192 return create(Cut.belowValue(endpoint), Cut.<C>aboveAll());
196 * Returns a range from the given endpoint, which may be either inclusive
200 C endpoint, BoundType boundType) {
203 return greaterThan(endpoint);
205 return atLeast(endpoint);