Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testPaddedPartitionRandomAccessInput (0.13 seconds)

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

        assertEquals(3, Iterables.size(partitions));
        assertEquals(Arrays.<@Nullable Integer>asList(5, null), Iterables.getLast(partitions));
      }
    
      public void testPaddedPartitionRandomAccessInput() {
        Iterable<Integer> source = asList(1, 2, 3);
        Iterable<List<Integer>> partitions = Iterables.paddedPartition(source, 2);
        Iterator<List<Integer>> iterator = partitions.iterator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.5K bytes
    - Click Count (0)
Back to Top