Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AbstractIterator (0.17 sec)

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

        }
      }
    
      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 =
            new AbstractIterator<Integer>() {
              private int rep;
    
              @Override
              public @Nullable Integer computeNext() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        }
      }
    
      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 =
            new AbstractIterator<Integer>() {
              private int rep;
    
              @Override
              public @Nullable Integer computeNext() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/package-info.java

     *   <li>{@link ObjectArrays}
     *   <li>{@link Queues}
     *   <li>{@link Sets}
     *   <li>{@link Streams}
     *   <li>{@link Tables}
     * </ul>
     *
     * <h2>Abstract implementations</h2>
     *
     * <ul>
     *   <li>{@link AbstractIterator}
     *   <li>{@link AbstractSequentialIterator}
     *   <li>{@link UnmodifiableIterator}
     *   <li>{@link UnmodifiableListIterator}
     * </ul>
     *
     * <h2>Forwarding collections</h2>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeTraverser.java

        PostOrderNode(T root, Iterator<T> childIterator) {
          this.root = checkNotNull(root);
          this.childIterator = checkNotNull(childIterator);
        }
      }
    
      private final class PostOrderIterator extends AbstractIterator<T> {
        private final ArrayDeque<PostOrderNode<T>> stack;
    
        PostOrderIterator(T root) {
          this.stack = new ArrayDeque<>();
          stack.addLast(expand(root));
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.2K bytes
    - Viewed (0)
Back to top