- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for testAsList_toArray_roundTrip (0.31 seconds)
-
guava-tests/test/com/google/common/primitives/BytesTest.java
list.set(0, (byte) 2); assertThat(array).isEqualTo(new byte[] {(byte) 2, (byte) 1}); array[1] = (byte) 3; assertThat(list).containsExactly((byte) 2, (byte) 3).inOrder(); } public void testAsList_toArray_roundTrip() { byte[] array = {(byte) 0, (byte) 1, (byte) 2}; List<Byte> list = Bytes.asList(array); byte[] newArray = Bytes.toArray(list); // Make sure it returned a copy list.set(0, (byte) 4);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 17.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
list.set(0, (byte) 2); assertThat(array).isEqualTo(new byte[] {(byte) 2, (byte) 1}); array[1] = (byte) 3; assertThat(list).containsExactly((byte) 2, (byte) 3).inOrder(); } public void testAsList_toArray_roundTrip() { byte[] array = {(byte) 0, (byte) 1, (byte) 2}; List<Byte> list = Bytes.asList(array); byte[] newArray = Bytes.toArray(list); // Make sure it returned a copy list.set(0, (byte) 4);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 17.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/CharsTest.java
list.set(0, (char) 2); assertThat(array).isEqualTo(new char[] {(char) 2, (char) 1}); array[1] = (char) 3; assertThat(list).containsExactly((char) 2, (char) 3).inOrder(); } public void testAsList_toArray_roundTrip() { char[] array = {(char) 0, (char) 1, (char) 2}; List<Character> list = Chars.asList(array); char[] newArray = Chars.toArray(list); // Make sure it returned a copy
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 26K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
list.set(0, (char) 2); assertThat(array).isEqualTo(new char[] {(char) 2, (char) 1}); array[1] = (char) 3; assertThat(list).containsExactly((char) 2, (char) 3).inOrder(); } public void testAsList_toArray_roundTrip() { char[] array = {(char) 0, (char) 1, (char) 2}; List<Character> list = Chars.asList(array); char[] newArray = Chars.toArray(list); // Make sure it returned a copy
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 26K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
list.set(0, 2.0); assertThat(array).isEqualTo(new double[] {2.0, 1.0}); array[1] = 3.0; assertThat(list).containsExactly(2.0, 3.0).inOrder(); } public void testAsList_toArray_roundTrip() { double[] array = {0.0, 1.0, 2.0}; List<Double> list = Doubles.asList(array); double[] newArray = Doubles.toArray(list); // Make sure it returned a copy list.set(0, 4.0);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 30.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
list.set(0, (int) 2); assertThat(array).isEqualTo(new int[] {(int) 2, (int) 1}); array[1] = (int) 3; assertThat(list).containsExactly((int) 2, (int) 3).inOrder(); } public void testAsList_toArray_roundTrip() { int[] array = {(int) 0, (int) 1, (int) 2}; List<Integer> list = Ints.asList(array); int[] newArray = Ints.toArray(list); // Make sure it returned a copy list.set(0, (int) 4);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
list.set(0, 2L); assertThat(array).isEqualTo(new long[] {2L, 1L}); array[1] = 3L; assertThat(list).containsExactly(2L, 3L).inOrder(); } public void testAsList_toArray_roundTrip() { long[] array = {0L, 1L, 2L}; List<Long> list = Longs.asList(array); long[] newArray = Longs.toArray(list); // Make sure it returned a copy list.set(0, 4L);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
assertThat(array).isEqualTo(new short[] {(short) 2, (short) 1}); array[1] = (short) 3; assertThat(list).containsExactly((short) 2, (short) 3).inOrder(); } public void testAsList_toArray_roundTrip() { short[] array = {(short) 0, (short) 1, (short) 2}; List<Short> list = Shorts.asList(array); short[] newArray = Shorts.toArray(list); // Make sure it returned a copy
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 27.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
list.set(0, 2.0); assertThat(array).isEqualTo(new double[] {2.0, 1.0}); array[1] = 3.0; assertThat(list).containsExactly(2.0, 3.0).inOrder(); } public void testAsList_toArray_roundTrip() { double[] array = {0.0, 1.0, 2.0}; List<Double> list = Doubles.asList(array); double[] newArray = Doubles.toArray(list); // Make sure it returned a copy list.set(0, 4.0);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 30.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
list.set(0, 2.0f); assertThat(array).isEqualTo(new float[] {2.0f, 1.0f}); array[1] = 3.0f; assertThat(list).containsExactly(2.0f, 3.0f).inOrder(); } public void testAsList_toArray_roundTrip() { float[] array = {0.0f, 1.0f, 2.0f}; List<Float> list = Floats.asList(array); float[] newArray = Floats.toArray(list); // Make sure it returned a copy list.set(0, 4.0f);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0)