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