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 Object
implements io.github.astrapi69.design.pattern.visitor.Visitor<T>
This visitor visits all
IBaseTreeNode objects and checks if the value equals with the
value of this visitor-
Constructor Summary
ConstructorsConstructorDescriptionFindValuesIBaseTreeNodeVisitor(V value) Instantiates a newFindValuesIBaseTreeNodeVisitorobject -
Method Summary
-
Constructor Details
-
FindValuesIBaseTreeNodeVisitor
Instantiates a newFindValuesIBaseTreeNodeVisitorobject- Parameters:
value- the value
-
-
Method Details
-
visit
- Specified by:
visitin interfaceio.github.astrapi69.design.pattern.visitor.Visitor<V>
-