Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testPartitionRandomAccessTrue (0.18 sec)

  1. guava-tests/test/com/google/common/collect/ListsTest.java

      }
    
      @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT.
      @GwtIncompatible // ArrayList.subList doesn't implement RandomAccess in GWT.
      public void testPartitionRandomAccessTrue() {
        List<Integer> source = asList(1, 2, 3);
        List<List<Integer>> partitions = Lists.partition(source, 2);
    
        assertTrue(
            "partition should be RandomAccess, but not: " + partitions.getClass(),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsTest.java

      }
    
      @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT.
      @GwtIncompatible // ArrayList.subList doesn't implement RandomAccess in GWT.
      public void testPartitionRandomAccessTrue() {
        List<Integer> source = asList(1, 2, 3);
        List<List<Integer>> partitions = Lists.partition(source, 2);
    
        assertTrue(
            "partition should be RandomAccess, but not: " + partitions.getClass(),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
Back to top