Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for testAsList_isAView (0.21 sec)

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

        assertThat(Bytes.toArray(longs)).isEqualTo(array);
        assertThat(Bytes.toArray(doubles)).isEqualTo(array);
      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        byte[] array = {(byte) 0, (byte) 1};
        List<Byte> list = Bytes.asList(array);
        list.set(0, (byte) 2);
        assertThat(array).isEqualTo(new byte[] {(byte) 2, (byte) 1});
        array[1] = (byte) 3;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.toArray(longs)).isEqualTo(array);
        assertThat(Bytes.toArray(doubles)).isEqualTo(array);
      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        byte[] array = {(byte) 0, (byte) 1};
        List<Byte> list = Bytes.asList(array);
        list.set(0, (byte) 2);
        assertThat(array).isEqualTo(new byte[] {(byte) 2, (byte) 1});
        array[1] = (byte) 3;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        List<@Nullable Character> list = Arrays.asList((char) 0, (char) 1, null);
        assertThrows(NullPointerException.class, () -> Chars.toArray(list));
      }
    
      @J2ktIncompatible // b/285319375
      public void testAsList_isAView() {
        char[] array = {(char) 0, (char) 1};
        List<Character> list = Chars.asList(array);
        list.set(0, (char) 2);
        assertThat(array).isEqualTo(new char[] {(char) 2, (char) 1});
        array[1] = (char) 3;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.toArray(longs)).isEqualTo(array);
        assertThat(Doubles.toArray(doubles)).isEqualTo(array);
      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        double[] array = {(double) 0, (double) 1};
        List<Double> list = Doubles.asList(array);
        list.set(0, (double) 2);
        assertThat(array).isEqualTo(new double[] {(double) 2, (double) 1});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.toArray(longs)).isEqualTo(array);
        assertThat(Floats.toArray(doubles)).isEqualTo(array);
      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        float[] array = {(float) 0, (float) 1};
        List<Float> list = Floats.asList(array);
        list.set(0, (float) 2);
        assertThat(array).isEqualTo(new float[] {(float) 2, (float) 1});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.toArray(longs)).isEqualTo(array);
        assertThat(Ints.toArray(doubles)).isEqualTo(array);
      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        int[] array = {(int) 0, (int) 1};
        List<Integer> list = Ints.asList(array);
        list.set(0, (int) 2);
        assertThat(array).isEqualTo(new int[] {(int) 2, (int) 1});
        array[1] = (int) 3;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.toArray(longs)).isEqualTo(array);
        assertThat(Doubles.toArray(doubles)).isEqualTo(array);
      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        double[] array = {(double) 0, (double) 1};
        List<Double> list = Doubles.asList(array);
        list.set(0, (double) 2);
        assertThat(array).isEqualTo(new double[] {(double) 2, (double) 1});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.toArray(longs)).isEqualTo(array);
        assertThat(Floats.toArray(doubles)).isEqualTo(array);
      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        float[] array = {(float) 0, (float) 1};
        List<Float> list = Floats.asList(array);
        list.set(0, (float) 2);
        assertThat(array).isEqualTo(new float[] {(float) 2, (float) 1});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(Longs.toArray(longs)).isEqualTo(array);
        assertThat(Longs.toArray(doubles)).isEqualTo(array);
      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        long[] array = {(long) 0, (long) 1};
        List<Long> list = Longs.asList(array);
        list.set(0, (long) 2);
        assertThat(array).isEqualTo(new long[] {(long) 2, (long) 1});
        array[1] = (long) 3;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top