- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for testToArray_withConversion (0.2 sec)
-
android/guava-tests/test/com/google/common/primitives/BytesTest.java
public void testToArray_withNull() { List<@Nullable Byte> list = Arrays.asList((byte) 0, (byte) 1, null); assertThrows(NullPointerException.class, () -> Bytes.toArray(list)); } public void testToArray_withConversion() { byte[] array = {(byte) 0, (byte) 1, (byte) 2}; List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 17.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BytesTest.java
public void testToArray_withNull() { List<@Nullable Byte> list = Arrays.asList((byte) 0, (byte) 1, null); assertThrows(NullPointerException.class, () -> Bytes.toArray(list)); } public void testToArray_withConversion() { byte[] array = {(byte) 0, (byte) 1, (byte) 2}; List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 17.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
public void testToArray_withNull() { List<@Nullable Double> list = Arrays.asList((double) 0, (double) 1, null); assertThrows(NullPointerException.class, () -> Doubles.toArray(list)); } public void testToArray_withConversion() { double[] array = {(double) 0, (double) 1, (double) 2}; List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
public void testToArray_withNull() { List<@Nullable Float> list = Arrays.asList((float) 0, (float) 1, null); assertThrows(NullPointerException.class, () -> Floats.toArray(list)); } public void testToArray_withConversion() { float[] array = {(float) 0, (float) 1, (float) 2}; List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
public void testToArray_withNull() { List<@Nullable Integer> list = Arrays.asList((int) 0, (int) 1, null); assertThrows(NullPointerException.class, () -> Ints.toArray(list)); } public void testToArray_withConversion() { int[] array = {0, 1, 2}; List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
public void testToArray_withNull() { List<@Nullable Double> list = Arrays.asList((double) 0, (double) 1, null); assertThrows(NullPointerException.class, () -> Doubles.toArray(list)); } public void testToArray_withConversion() { double[] array = {(double) 0, (double) 1, (double) 2}; List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
public void testToArray_withNull() { List<@Nullable Float> list = Arrays.asList((float) 0, (float) 1, null); assertThrows(NullPointerException.class, () -> Floats.toArray(list)); } public void testToArray_withConversion() { float[] array = {(float) 0, (float) 1, (float) 2}; List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
public void testToArray_withNull() { List<@Nullable Long> list = Arrays.asList((long) 0, (long) 1, null); assertThrows(NullPointerException.class, () -> Longs.toArray(list)); } public void testToArray_withConversion() { long[] array = {(long) 0, (long) 1, (long) 2}; List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.8K bytes - Viewed (0)