Module gen.tree
Class FindValuesIBaseTreeNodeVisitor<V,K,T extends IBaseTreeNode<V,K,T>>
- java.lang.Object
-
- io.github.astrapi69.gen.tree.visitor.FindValuesIBaseTreeNodeVisitor<V,K,T>
-
- Type Parameters:
T
- the generic type of the valueK
- the generic type of the id from the node
- All Implemented Interfaces:
io.github.astrapi69.design.pattern.visitor.Visitor<T>
- Direct Known Subclasses:
FindValuesBaseTreeNodeVisitor
public class FindValuesIBaseTreeNodeVisitor<V,K,T extends IBaseTreeNode<V,K,T>> extends java.lang.Object implements io.github.astrapi69.design.pattern.visitor.Visitor<T>
This visitor visits allIBaseTreeNode
objects and checks if the value equals with the value of this visitor
-
-
Constructor Summary
Constructors Constructor Description FindValuesIBaseTreeNodeVisitor(V value)
Instantiates a newFindValuesIBaseTreeNodeVisitor
object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(T treeNode)
-
-
-
Constructor Detail
-
FindValuesIBaseTreeNodeVisitor
public FindValuesIBaseTreeNodeVisitor(V value)
Instantiates a newFindValuesIBaseTreeNodeVisitor
object- Parameters:
value
- the value
-
-