Beispiel #1
0
 public override void VisitLeaf(TreeLeaf leaf)
 {
     if (CurrentDepth > Depth)
     {
         Depth = CurrentDepth;
     }
 }
Beispiel #2
0
 public abstract void VisitLeaf(TreeLeaf leaf);