Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testForEachRemaining (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *       @Override
     *       protected Iterator<String> newTargetIterator() {
     *         return actualElements.iterator();
     *       }
     *     };
     * iteratorTester.test();
     * iteratorTester.testForEachRemaining();
     * }
     *
     * <p><b>Note</b>: It is necessary to use {@code IteratorTester.KnownOrder} as shown above, rather
     * than {@code KnownOrder} directly, because otherwise the code cannot be compiled.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        try {
          recurse(0);
        } catch (Exception e) { // sneaky checked exception
          throw new RuntimeException(Arrays.toString(stimuli), e);
        }
      }
    
      public void testForEachRemaining() {
        for (int i = 0; i < expectedElements.size() - 1; i++) {
          List<E> targetElements = new ArrayList<>();
          Iterator<E> iterator = newTargetIterator();
          for (int j = 0; j < i; j++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 21.4K bytes
    - Click Count (0)
Back to Top