Class FindValuesBaseTreeNodeVisitor<V,K>

java.lang.Object
io.github.astrapi69.gen.tree.visitor.FindValuesIBaseTreeNodeVisitor<V,K,BaseTreeNode<V,K>>
io.github.astrapi69.gen.tree.visitor.FindValuesBaseTreeNodeVisitor<V,K>
Type Parameters:
V - the generic type of the value
K - the generic type of the id from the node
All Implemented Interfaces:
io.github.astrapi69.design.pattern.visitor.Visitor<BaseTreeNode<V,K>>

public class FindValuesBaseTreeNodeVisitor<V,K> extends FindValuesIBaseTreeNodeVisitor<V,K,BaseTreeNode<V,K>>
This visitor visits all BaseTreeNode objects and checks if the value equals with the value of this visitor
  • Constructor Details

    • FindValuesBaseTreeNodeVisitor

      public FindValuesBaseTreeNodeVisitor(V value)
      Instantiates a new FindValuesBaseTreeNodeVisitor object
      Parameters:
      value - the value