X - protected static class TreeBranch.PreOrderNodeIterator<X extends Serializable> extends Object implements Iterator<TreeBranch<X>>
| Constructor and Description |
|---|
PreOrderNodeIterator(TreeBranch<X> rootNode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
is there an iterator on the stack and
is there something to read ?
|
TreeBranch<X> |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic PreOrderNodeIterator(TreeBranch<X> rootNode)
public TreeBranch<X> next()
next in interface Iterator<TreeBranch<X extends Serializable>>public boolean hasNext()
hasNext in interface Iterator<TreeBranch<X extends Serializable>>public void remove()
remove in interface Iterator<TreeBranch<X extends Serializable>>Copyright © 2020 LSST. All rights reserved.