Modifier and Type | Field and Description |
---|---|
protected boolean |
m_checkedNext |
protected INode |
m_next |
Constructor and Description |
---|
BreadthFirstTreeWalker()
New tree walker starting from the first root (inclusive).
|
BreadthFirstTreeWalker(INode node)
New tree walker starting from the specified node (inclusive).
|
Modifier and Type | Method and Description |
---|---|
protected INode |
findNext(INode current,
int currentDepth,
int targetDepth)
Find next node at targetDepth.
|
boolean |
hasNext() |
INode |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected boolean m_checkedNext
protected INode m_next
public BreadthFirstTreeWalker()
public BreadthFirstTreeWalker(INode node)