package ktak.functionaljava;

import ktak.functionaljava.AATree.Leaf;
import ktak.functionaljava.AATree.Node;

public class AATreeSize<T> implements AATree.Visitor<Long,T> {
    
    @Override
    public Long visitLeaf(Leaf<T> leaf) {
        return 0L;
    }
    
    @Override
    public Long visitNode(Node<T> node) {
        return 1 + node.left.visit(this) + node.right.visit(this);
    }
    
}

@@ -104,23 +104,16 @@
 .Node;%0A%0A
-public 
 class AA

make AATreeSize package private