guava/src/com/google/common/math/StatsAccumulator.java
public void addAll(Iterator<? extends Number> values) {
    while (values.hasNext()) {
      add(values.next().doubleValue());
    }
  }
public void addAll(Iterator<? extends Number> values) {
    while (values.hasNext()) {
      add(values.next().doubleValue());
    }
  }
Adds the given values to the dataset.

@param values a series of values, which will be converted to {@code double} values (this may
cause loss of precision)