Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RoundTrip (0.14 sec)

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

        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);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 28.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        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);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 28.4K bytes
    - Viewed (0)
Back to top