Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testReuseBuilderWithNonDuplicateElements (0.2 sec)

  1. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

                .add("g", "h", "i", "j")
                .build();
        assertThat(set).containsExactly("a", "b", "c", "d", "e", "f", "g", "h", "i", "j").inOrder();
      }
    
      public void testReuseBuilderWithNonDuplicateElements() {
        ImmutableSet.Builder<String> builder = this.<String>builder().add("a").add("b");
        assertThat(builder.build()).containsExactly("a", "b").inOrder();
        builder.add("c", "d");
    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