public static class TreeUtilities.PreorderNodeEnumeration<M extends TreeNode> extends Object implements Enumeration<M>
Modifier and Type | Field and Description |
---|---|
protected Deque<Enumeration<M>> |
stack |
Constructor and Description |
---|
PreorderNodeEnumeration(M rootNode) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements() |
M |
nextElement() |
protected Deque<Enumeration<M extends TreeNode>> stack
public PreorderNodeEnumeration(M rootNode)
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<M extends TreeNode>
public M nextElement()
nextElement
in interface Enumeration<M extends TreeNode>
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses