Package io.jenetics.ext.rewriting
Class TreePattern.Decl<V>
- java.lang.Object
-
- io.jenetics.ext.rewriting.TreePattern.Decl<V>
-
- Type Parameters:
V
- the node type the tree-pattern is working on
- Direct Known Subclasses:
TreePattern.Val
,TreePattern.Var
- Enclosing class:
- TreePattern<V>
public abstract static class TreePattern.Decl<V> extends Object
A sealed class, which constitutes the nodes of a pattern tree. The only two implementations of this class are theTreePattern.Var
and theTreePattern.Val
class. TheTreePattern.Var
class represents a placeholder for an arbitrary sub-tree and theTreePattern.Val
class stands for an arbitrary concrete sub-tree.- See Also:
TreePattern.Var
,TreePattern.Val