public interface PartVisitor { public void visit(PiecePart pp); public void visit(Assembly a); } End of Listing