2728293031323334353637
base2.addAggregate(this); } public double nextValue() { Type type = this.getType(); if (type == Type.PLUS) { return val1 + val2; }
2324252627282930313233
} @Override public double nextValue() { Type type = this.getType(); if (type == Type.PLUS) { return val1 + val2; }