|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
public interface Node
A node is a node in a FlowGraph. A node can have a number of sucessors as well as it can accept
a NodeVisitor for easy traversal of the graph in a visitor pattern.
| Method Summary | |
|---|---|
void |
accept(NodeVisitor n)
Accepts the given visitor |
void |
addSucessor(Node n)
Adds a sucessor node to this node |
Collection<Node> |
getSuccessors()
returns the collection of successors of this node |
| Method Detail |
|---|
void accept(NodeVisitor n)
n - void addSucessor(Node n)
n - Collection<Node> getSuccessors()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||