Class AbstractBiDiNode<N extends BiDiTreeNode<N>>
- java.lang.Object
-
- org.processmining.specpp.datastructures.tree.base.impls.AbstractBiDiNode<N>
-
- All Implemented Interfaces:
GraphObject,Vertex,BiDiTreeNode<N>,KnowsChildren<N>,KnowsParent<N>,MutableChildren<N>,MutableParent<N>,TreeNode,UniDiTreeNode<N>
- Direct Known Subclasses:
AnnotatableBiDiNodeImpl,BiDiNodeImpl
public abstract class AbstractBiDiNode<N extends BiDiTreeNode<N>> extends java.lang.Object implements BiDiTreeNode<N>, MutableChildren<N>, MutableParent<N>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractBiDiNode()AbstractBiDiNode(N parent)protectedAbstractBiDiNode(N parent, java.util.List<N> children)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(N child)java.util.List<N>getChildren()NgetParent()voidsetParent(N parent)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.processmining.specpp.datastructures.tree.base.traits.KnowsChildren
isLeaf
-
-
-
-
Method Detail
-
getChildren
public java.util.List<N> getChildren()
- Specified by:
getChildrenin interfaceKnowsChildren<N extends BiDiTreeNode<N>>
-
getParent
public N getParent()
- Specified by:
getParentin interfaceKnowsParent<N extends BiDiTreeNode<N>>
-
setParent
public void setParent(N parent)
- Specified by:
setParentin interfaceMutableParent<N extends BiDiTreeNode<N>>
-
addChild
public void addChild(N child)
- Specified by:
addChildin interfaceMutableChildren<N extends BiDiTreeNode<N>>
-
-