ContiguousSetTest.java | 21 import static com.google.common.collect.DiscreteDomains.integers; 41 return integers().next(value); 45 return integers().previous(value); 49 return integers().distance(start, end); 53 return integers().minValue(); 57 return integers().maxValue(); 64 Ranges.closed(1, 3).asSet(integers()), method 65 Ranges.closedOpen(1, 4).asSet(integers()), method 66 Ranges.openClosed(0, 3).asSet(integers()), method 67 Ranges.open(0, 4).asSet(integers()), method 270 Ranges.open(3, 64).asSet(integers()))); method 276 assertEquals(ImmutableSet.of(1, 2, 3), set.intersection(Ranges.open(-1, 4).asSet(integers()))); method [all...] |