|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jtool.jxplatform.graph.cfg.GetPostDominator
Calculates post dominators on a CFG.
| Constructor Summary | |
GetPostDominator(CFG cfg,
CFGNode anchor)
Calculates post-dominators nodes for a node on a CFG. |
|
| Method Summary | |
boolean |
add(CFGNode node)
Appends a CFG node to the post-dominators. |
boolean |
contains(CFGNode node)
Tests if the collection of the post-dominators contains a node. |
boolean |
isEmpty()
Tests if there is no post-dominator. |
java.util.Iterator |
iterator()
Returns an iterator of the collection of the post-dominators in proper sequence. |
void |
printNodes()
Displays information about the collected nodes for debugging. |
boolean |
remove(CFGNode node)
Removes a CFG node from the post-dominators. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GetPostDominator(CFG cfg,
CFGNode anchor)
cfg - A CFG.anchor - A CFG node.| Method Detail |
public boolean add(CFGNode node)
node - A CFG node to be append.
true if the post-dominators changed as a result of the call.public boolean remove(CFGNode node)
node - A CFG node to be removed.
true if the post-dominators changed as a result of the call.public boolean contains(CFGNode node)
node - A CFG node to be tested.
true if the post-dominators contains the specified node, otherwise false.public boolean isEmpty()
true if there is no post-dominator, otherwise false.public java.util.Iterator iterator()
public void printNodes()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||