Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCopyOf_iterable_notCollection_nonempty (0.7 sec)

  1. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        Iterable<Long> iterable = iterable(Collections.<Long>emptySet());
        assertThat(ImmutableLongArray.copyOf(iterable)).isSameInstanceAs(ImmutableLongArray.of());
      }
    
      public void testCopyOf_iterable_notCollection_nonempty() {
        List<Long> list = Arrays.asList(0L, 1L, 3L);
        ImmutableLongArray iia = ImmutableLongArray.copyOf(iterable(list));
        list.set(2, 2L);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top