Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testForEachRemaining (0.11 sec)

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

     *       @Override
     *       protected Iterator<String> newTargetIterator() {
     *         return actualElements.iterator();
     *       }
     *     };
     * iteratorTester.test();
     * iteratorTester.testForEachRemaining();
     * }</pre>
     *
     * <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.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (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++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top