Module gen.tree

Class 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 Detail

      • FindValuesBaseTreeNodeVisitor

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