Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testDefaultBehaviorOfPeek (1.88 sec)

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

        assertFalse(iter.hasNext());
    
        // Make sure computeNext() doesn't get invoked again
        assertFalse(iter.hasNext());
    
        assertThrows(NoSuchElementException.class, iter::next);
      }
    
      public void testDefaultBehaviorOfPeek() {
        /*
         * This sample AbstractIterator returns 0 on the first call, 1 on the
         * second, then signals that it's reached the end of the data
         */
        AbstractIterator<Integer> iter =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top