|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.uci.eecs.doc.cascade.tree.TreeIterator
public class TreeIterator
Iterates over the nodes of a control flow tree.
Tree| Constructor Summary | |
|---|---|
TreeIterator(Node startNode)
Creates a new TreeIterator object starting at the given node. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Returns true if this iterator has more nodes. |
Node |
next()
Returns the next node in the iteration. |
void |
remove()
Not supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeIterator(Node startNode)
startNode - a node in a control flow tree| Method Detail |
|---|
public boolean hasNext()
hasNext in interface Iterator<Node>public Node next()
next in interface Iterator<Node>public void remove()
remove in interface Iterator<Node>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||