- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for testCopyOf_collection_nonempty (0.13 sec)
-
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
Collection<Long> iterable = Collections.emptySet(); assertThat(ImmutableLongArray.copyOf(iterable)).isSameInstanceAs(ImmutableLongArray.of()); } public void testCopyOf_collection_nonempty() { List<Long> list = Arrays.asList(0L, 1L, 3L); ImmutableLongArray iia = ImmutableLongArray.copyOf(list); list.set(2, 2L); assertThat(iia.asList()).containsExactly(0L, 1L, 3L).inOrder(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.5K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.2K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0)