Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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