Class TreeNode<T>
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.tree.TreeNode<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ITreeVisitor<T> visitor)voidaddChild(TreeNode<T> node)Add a child node.voiddetach()Detach this node from its parent.List<ITreeNode<T>>getChildren()IQuantitygetEndTime()ITreeNode<T>getParent()IQuantitygetStartTime()IMCThreadgetThread()TgetValue()booleanhasDuration()StringtoString()
-
-
-
Method Detail
-
getChildren
public List<ITreeNode<T>> getChildren()
- Specified by:
getChildrenin interfaceITreeNode<T>- Returns:
- the children of the the node, or the empty list if there are no children
-
getValue
public T getValue()
-
hasDuration
public boolean hasDuration()
-
getStartTime
public IQuantity getStartTime()
-
getEndTime
public IQuantity getEndTime()
-
getThread
public IMCThread getThread()
-
accept
public void accept(ITreeVisitor<T> visitor)
-
addChild
public void addChild(TreeNode<T> node)
Add a child node.- Parameters:
node- child node to add
-
detach
public void detach()
Detach this node from its parent.
-
-