Class SearchVisitor
java.lang.Object
|
+----SearchVisitor
- public class SearchVisitor
- extends Object
- implements BTVisitor
Klasse für einen Visitor
-
muster
-
-
name
-
-
tree
-
-
SearchVisitor(String, String)
- Konstruktor
-
visitBTEnd(BinaryTree)
- visitStart
-
visitBTNode(BinaryTree)
- besucht eine Node
-
visitBTStart(BinaryTree)
- visitStart
tree
public BinaryTree tree
muster
protected String muster
name
protected String name
SearchVisitor
public SearchVisitor(String m,
String n)
- Konstruktor
visitBTStart
public void visitBTStart(BinaryTree BT)
- visitStart
visitBTNode
public void visitBTNode(BinaryTree BT)
- besucht eine Node
visitBTEnd
public void visitBTEnd(BinaryTree BT)
- visitStart