android/guava/src/com/google/common/math/Stats.java
public static Stats of(Iterable<? extends Number> values) {
    StatsAccumulator accumulator = new StatsAccumulator();
    accumulator.addAll(values);
    return accumulator.snapshot();
  }
public static Stats of(Iterable<? extends Number> values) {
    StatsAccumulator accumulator = new StatsAccumulator();
    accumulator.addAll(values);
    return accumulator.snapshot();
  }
Returns statistics over a dataset containing the given values.

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