Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testPaddedPartition_singleton1 (0.1 seconds)

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

        Iterator<Integer> source = emptyIterator();
        Iterator<List<Integer>> partitions = Iterators.paddedPartition(source, 1);
        assertFalse(partitions.hasNext());
      }
    
      public void testPaddedPartition_singleton1() {
        Iterator<Integer> source = singletonIterator(1);
        Iterator<List<Integer>> partitions = Iterators.paddedPartition(source, 1);
        assertTrue(partitions.hasNext());
        assertTrue(partitions.hasNext());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 56.7K bytes
    - Click Count (0)
Back to Top