- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for testBuilderAddAll (0.08 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
new ImmutableMultiset.Builder<String>().add("a").add("b").add("a").add("c").build(); assertEquals(HashMultiset.create(asList("a", "b", "a", "c")), multiset); } public void testBuilderAddAll() { List<String> a = asList("a", "b"); List<String> b = asList("c", "d"); ImmutableMultiset<String> multiset = new ImmutableMultiset.Builder<String>().addAll(a).addAll(b).build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 20.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
new ImmutableMultiset.Builder<String>().add("a").add("b").add("a").add("c").build(); assertEquals(HashMultiset.create(asList("a", "b", "a", "c")), multiset); } public void testBuilderAddAll() { List<String> a = asList("a", "b"); List<String> b = asList("c", "d"); ImmutableMultiset<String> multiset = new ImmutableMultiset.Builder<String>().addAll(a).addAll(b).build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 24.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
ImmutableSortedMultiset.<String>naturalOrder().add("a").add("b").add("a").add("c").build(); assertEquals(HashMultiset.create(asList("a", "b", "a", "c")), multiset); } public void testBuilderAddAll() { List<String> a = asList("a", "b"); List<String> b = asList("c", "d"); ImmutableSortedMultiset<String> multiset = ImmutableSortedMultiset.<String>naturalOrder().addAll(a).addAll(b).build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
assertThat(builder.build()).containsExactly("a", "b").inOrder(); builder.add("a", "b", "c", "c"); assertThat(builder.build()).containsExactly("a", "b", "c").inOrder(); } public void testBuilderAddAll() { List<String> a = asList("a", "b", "c"); List<String> b = asList("c", "d", "e"); ImmutableSet<String> set = this.<String>builder().addAll(a).addAll(b).build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.5K bytes - Viewed (0)