/guava/android/guava/src/com/google/common/math/Stats.java
mean = calculateNewMeanNonFinite( value) ;
mean = calculateNewMeanNonFinite ( mean, value ) ;
while (values.hasNext()) { double value = values.next().doubleValue(); count++; if (isFinite(value) && isFinite(mean)) { mean += (value - mean) / count; } else { <extra_id_0> } } return mean; } public static double meanOf(double... values) { checkArgument(values.length > 0);