Lines Matching refs:CLOSED
19 import static com.google.common.collect.BoundType.CLOSED;
37 assertEquals(Ranges.closed(0, 0), Ranges.singleton(0));
38 assertEquals(Ranges.closed(9, 9), Ranges.singleton(9));
42 assertEquals(Ranges.closed(0, 0), Ranges.encloseAll(Arrays.asList(0)));
43 assertEquals(Ranges.closed(-3, 5), Ranges.encloseAll(Arrays.asList(5, -3)));
44 assertEquals(Ranges.closed(-3, 5), Ranges.encloseAll(Arrays.asList(1, 2, 2, 2, 5, -3, 0, -1)));
72 Ranges.downTo(1, CLOSED))
78 Ranges.upTo(7, CLOSED))
87 Ranges.range(1, OPEN, 7, CLOSED))
89 Ranges.closed(1, 7),
90 Ranges.range(1, CLOSED, 7, CLOSED))
93 Ranges.range(1, CLOSED, 7, OPEN))