Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testBuilderAddAll (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
Back to top