public class PreorderWalker<E> extends AbstractSequence<E> implements Walker<E>
current| Constructor and Description |
|---|
PreorderWalker(E elem,
Navigator<E> navigator) |
PreorderWalker(Sequence<? extends E> seq,
Navigator<E> navigator) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBreakpoint() |
PreorderWalker<E> |
copy() |
protected E |
findNext() |
Path |
getCurrentPath() |
boolean |
isPaused() |
static void |
main(String[] args) |
void |
reset() |
void |
resume() |
void |
skip() |
current, findNext, hasNext, index, length, next, nextpublic void reset()
public PreorderWalker<E> copy()
protected E findNext()
findNext in class AbstractSequence<E>public Path getCurrentPath()
getCurrentPath in interface Walker<E>public void addBreakpoint()
addBreakpoint in interface Walker<E>public static void main(String[] args)
Copyright © 2021. All rights reserved.