AverageVisitorDJ { {{ void update() { current = (float) this.get_sV().get_total()/ (float) this.get_cV().get_total(); System.out.println(current + " = partial result"); } ; public void before(Weight o) { update(); } public Object getReturnValue() {return new Float(current);} }} } ResultVisitorDJ { {{ public Object getReturnValue() {return aV.get_cV().getReturnValue();} }} }