class AverageAccumulator implements SimpleAccumulator<Double> {

	@Override
	public Double getLocalValue() {
		if (this.count == 0) {
			return 0.0;
		}
		return this.localValue / (double)this.count;
	}

}