Lines Matching defs:Sets
20 import static com.google.common.collect.Sets.newHashSet;
156 assertEquals(Sets.newHashSet(1, 3), fooSet);
158 assertEquals(Sets.newHashSet(), missingSet);
161 assertEquals(Sets.newHashSet(0, 1, 3), fooSet);
164 assertEquals(Sets.newHashSet(2), multimap.get("missing"));
170 assertEquals(Sets.newHashSet(3, 7), fooSet);
172 assertEquals(Sets.newHashSet(), missingSet);
175 assertEquals(Sets.newHashSet(3, 6, 7), fooSet);
178 assertEquals(Sets.newHashSet(9), multimap.get("missing"));
184 assertEquals(Sets.newHashSet(3), fooSet);
187 assertEquals(Sets.newHashSet(3, 5), fooSet);
190 assertEquals(Sets.newHashSet(1, 3, 4, 5, 7), multimap.get("foo"));
304 Sets.newTreeSet(asList(2, 3, 4, 7, 8)),
325 Set<Entry<String, Integer>> set = Sets.newLinkedHashSet(asList(
392 Sets.newTreeSet(asList("bar", "baz", "cat", "dog", "foo")),
417 Set<Entry<String, Collection<Integer>>> set = Sets.newTreeSet(
426 (Collection<Integer>) Sets.newHashSet(4, 5, 10, 11)),
428 (Collection<Integer>) Sets.newHashSet(7, 8)),
430 (Collection<Integer>) Sets.newHashSet(12, 13, 14)),
432 (Collection<Integer>) Sets.newHashSet(9)),
434 (Collection<Integer>) Sets.newHashSet(2, 3, 6))