Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for testBuilderForceCopy (0.09 seconds)

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

            ImmutableSet.of("a", "b", "c", "c", "c", "c", "b", "b", "a", "a", "c", "c", "c", "a");
        assertThat(set).containsExactly("a", "b", "c").inOrder();
      }
    
      @GwtIncompatible // Builder impl
      public void testBuilderForceCopy() {
        ImmutableSet.Builder<Integer> builder = ImmutableSet.builder();
        builder.add(-1);
        Object[] prevArray = null;
        for (int i = 0; i < 10; i++) {
          builder.add(i);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

            new ImmutableList.Builder<String>().add("a").add("b").add("a").add("c").build();
        assertEquals(asList("a", "b", "a", "c"), list);
      }
    
      @GwtIncompatible // Builder impl
      public void testBuilderForceCopy() {
        ImmutableList.Builder<Integer> builder = ImmutableList.builder();
        Object[] prevArray = null;
        for (int i = 0; i < 10; i++) {
          builder.add(i);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/ImmutableListTest.java

            new ImmutableList.Builder<String>().add("a").add("b").add("a").add("c").build();
        assertEquals(asList("a", "b", "a", "c"), list);
      }
    
      @GwtIncompatible // Builder impl
      public void testBuilderForceCopy() {
        ImmutableList.Builder<Integer> builder = ImmutableList.builder();
        Object[] prevArray = null;
        for (int i = 0; i < 10; i++) {
          builder.add(i);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 23.8K bytes
    - Click Count (0)
Back to Top