Lines Matching defs:contains
39 * {@code range.contains(a) && range.contains(c)} implies that {@code
40 * range.contains(b)}.
104 * invoking {@link #contains}.
199 * range. For example, on the range {@code [0..2)}, {@code contains(1)}
200 * returns {@code true}, while {@code contains(2)} returns {@code false}.
202 public boolean contains(C value) {
209 * Equivalent to {@link #contains}; provided only to satisfy the {@link
211 * invoke {@link #contains} directly instead.
214 return contains(input);
219 * #contains contained} in this range.
231 return contains(set.first()) && contains(set.last());
236 if (!contains(value)) {
253 * <li>{@code [4..5]} does not enclose {@code (3..6)} (even though it contains
255 * <li>{@code [3..6]} does not enclose {@code (1..1]} (even though it contains
259 * Note that if {@code a.encloses(b)}, then {@code b.contains(v)} implies
260 * {@code a.contains(v)}, but as the last two examples illustrate, the
377 * given domain {@linkplain Range#contains contained} by this range.
429 * <li>equivalence: {@code a.canonical().contains(v) == a.contains(v)} for