Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testCopyOf_collection_nonempty (0.35 sec)

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

        Collection<Double> iterable = Collections.emptySet();
        assertThat(ImmutableDoubleArray.copyOf(iterable)).isSameInstanceAs(ImmutableDoubleArray.of());
      }
    
      public void testCopyOf_collection_nonempty() {
        List<Double> list = Arrays.asList(0.0, 1.0, 3.0);
        ImmutableDoubleArray iia = ImmutableDoubleArray.copyOf(list);
        list.set(2, 2.0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        Collection<Integer> iterable = Collections.emptySet();
        assertThat(ImmutableIntArray.copyOf(iterable)).isSameInstanceAs(ImmutableIntArray.of());
      }
    
      public void testCopyOf_collection_nonempty() {
        List<Integer> list = Arrays.asList(0, 1, 3);
        ImmutableIntArray iia = ImmutableIntArray.copyOf(list);
        list.set(2, 2);
        assertThat(iia.asList()).containsExactly(0, 1, 3).inOrder();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        Collection<Double> iterable = Collections.emptySet();
        assertThat(ImmutableDoubleArray.copyOf(iterable)).isSameInstanceAs(ImmutableDoubleArray.of());
      }
    
      public void testCopyOf_collection_nonempty() {
        List<Double> list = Arrays.asList(0.0, 1.0, 3.0);
        ImmutableDoubleArray iia = ImmutableDoubleArray.copyOf(list);
        list.set(2, 2.0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top