SetOperationsTest.java | 259 Set<String> enemies; field in class:SetOperationsTest.MoreTests 263 enemies = Sets.newHashSet("Dick", "Harry", "Tom"); 267 Set<String> all = Sets.union(friends, enemies); 270 ImmutableSet<String> immut = Sets.union(friends, enemies).immutableCopy(); 272 = Sets.union(friends, enemies).copyInto(new HashSet<String>()); 274 enemies.add("Buck"); 282 Set<String> enemies = Sets.newHashSet("Dick", "Harry", "Tom"); local 284 Set<String> frenemies = Sets.intersection(friends, enemies); 288 = Sets.intersection(friends, enemies).immutableCopy(); 290 = Sets.intersection(friends, enemies).copyInto(new HashSet<String>()) 300 Set<String> enemies = Sets.newHashSet("Dick", "Harry", "Tom"); local 318 Set<String> enemies = Sets.newHashSet("Dick", "Harry", "Tom"); local [all...] |