Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PreOrderIterator (0.06 sec)

  1. guava/src/com/google/common/collect/TreeTraverser.java

              }
            }.accept(root);
          }
        };
      }
    
      UnmodifiableIterator<T> preOrderIterator(T root) {
        return new PreOrderIterator(root);
      }
    
      private final class PreOrderIterator extends UnmodifiableIterator<T> {
        private final Deque<Iterator<T>> stack;
    
        PreOrderIterator(T root) {
          this.stack = new ArrayDeque<>();
          stack.addLast(singletonIterator(checkNotNull(root)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top