Lines Matching defs:ImmutableSet
95 * ImmutableSet.SerializedForm, which would be enormous.
217 for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) {
220 for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) {
221 assertFalse(set.containsAll(Sets.union(subset, ImmutableSet.of(9))));
223 assertFalse(set.containsAll(ImmutableSet.of("blah")));
267 assertEquals(ImmutableSet.of(), set.intersection(emptySet));
268 assertEquals(ImmutableSet.of(), emptySet.intersection(set));
269 assertEquals(ImmutableSet.of(), Ranges.closed(-5, -1).asSet(integers()).intersection(
275 assertEquals(ImmutableSet.of(1, 2, 3), Ranges.open(-1, 4).asSet(integers()).intersection(set));
276 assertEquals(ImmutableSet.of(1, 2, 3), set.intersection(Ranges.open(-1, 4).asSet(integers())));