public class DominatorNode
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List |
children |
protected java.lang.Object |
gode |
protected DominatorNode |
parent |
| Modifier | Constructor and Description |
|---|---|
protected |
DominatorNode(java.lang.Object gode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addChild(DominatorNode child)
Adds a child to the internal list of children of this node in
tree.
|
java.util.List |
getChildren()
Returns a backed list of the children of this node in the
DominatorTree.
|
java.lang.Object |
getGode()
Returns the node (from the original DirectedGraph) encapsulated
by this DominatorNode.
|
DominatorNode |
getParent()
Returns the parent of the node in the DominatorTree.
|
boolean |
isHead()
Returns true if this node is the head of its DominatorTree.
|
boolean |
isTail()
Returns true if this node is a tail of its DominatorTree.
|
void |
setParent(DominatorNode parent)
Sets the parent of this node in the DominatorTree.
|
java.lang.String |
toString() |
protected java.lang.Object gode
protected DominatorNode parent
protected java.util.List children
public void setParent(DominatorNode parent)
public boolean addChild(DominatorNode child)
public java.lang.Object getGode()
public DominatorNode getParent()
public java.util.List getChildren()
public boolean isHead()
public boolean isTail()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2012-2019 RoboVM AB. All Rights Reserved.