Example #1
0
 public override void visitLeaf(TreeLeaf leaf)
 {
     if (depth.ContainsKey(leaf) && depth[leaf] > height)
     {
         height = depth[leaf];
     }
 }
Example #2
0
 public abstract void visitLeaf(TreeLeaf leaf);