Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for ModifiedButNotUsed (0.45 seconds)

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

        builder.add("bar");
        RegularImmutableList<String> list = (RegularImmutableList<String>) builder.build();
        builder.add("baz");
        assertTrue(list.array != builder.contents);
      }
    
      @SuppressWarnings("ModifiedButNotUsed")
      @GwtIncompatible // actually allocates nCopies
      @J2ktIncompatible // actually allocates nCopies
      public void testAddOverflowCollection() {
        ImmutableList.Builder<String> builder = ImmutableList.builder();
    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)
  2. guava-tests/test/com/google/common/collect/ImmutableListTest.java

      @SuppressWarnings("InlineMeInliner")
      public void testAsList() {
        ImmutableList<String> list = ImmutableList.of("a", "b");
        assertThat(list.asList()).isSameInstanceAs(list);
      }
    
      @SuppressWarnings("ModifiedButNotUsed")
      @GwtIncompatible // actually allocates nCopies
      @J2ktIncompatible // actually allocates nCopies
      public void testAddOverflowCollection() {
        ImmutableList.Builder<String> builder = ImmutableList.builder();
    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