Class ReflectiveNodeFactory
- java.lang.Object
-
- org.processmining.specpp.datastructures.tree.base.impls.ReflectiveNodeFactory
-
public class ReflectiveNodeFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ReflectiveNodeFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <A,N extends TreeNode & Annotatable<A>>
Nannotated(N node, A annotation)static <A,N extends AnnotatableBiDiNode<A,N>>
NannotatedChildOf(N parent, A annotation)static <A,N extends TreeNode & Annotatable<A>>
NannotatedRoot(java.lang.Class<N> nodeClass, A annotation)static <N extends BiDiTreeNode<N>>
NchildOf(N parent)static <N extends TreeNode>
Nroot(java.lang.Class<N> nodeClass)
-
-
-
Method Detail
-
root
public static <N extends TreeNode> N root(java.lang.Class<N> nodeClass)
-
annotated
public static <A,N extends TreeNode & Annotatable<A>> N annotated(N node, A annotation)
-
annotatedRoot
public static <A,N extends TreeNode & Annotatable<A>> N annotatedRoot(java.lang.Class<N> nodeClass, A annotation)
-
childOf
public static <N extends BiDiTreeNode<N>> N childOf(N parent)
-
annotatedChildOf
public static <A,N extends AnnotatableBiDiNode<A,N>> N annotatedChildOf(N parent, A annotation)
-
-