Module gen.tree
Class ReindexTreeNodeVisitor<V,K,T extends IBaseTreeNode<V,K,T>>
- java.lang.Object
-
- io.github.astrapi69.gen.tree.visitor.ReindexTreeNodeVisitor<V,K,T>
-
- Type Parameters:
T
- the generic type of the value
- All Implemented Interfaces:
io.github.astrapi69.design.pattern.visitor.Visitor<T>
public class ReindexTreeNodeVisitor<V,K,T extends IBaseTreeNode<V,K,T>> extends java.lang.Object implements io.github.astrapi69.design.pattern.visitor.Visitor<T>
This visitor visits allITreeNode
objects and adds them to aCollection
object with all descendant
-
-
Constructor Summary
Constructors Constructor Description ReindexTreeNodeVisitor(io.github.astrapi69.data.identifiable.IdGenerator<K> idGenerator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(T treeNode)
-