Hi, Working on a project I had to capture current state of a DescriptiveStatistics, and choosed to use a StatisticalSummaryValues to hold the value. I looked it if was possible to do it in one short method call, but didn't found the method. However I found some equivalent in SummaryStatistics: /** * Return a {@link StatisticalSummaryValues} instance reporting current * statistics. * @return Current values of statistics */ public StatisticalSummary getSummary() { return new StatisticalSummaryValues(getMean(), getVariance(), getN(), getMax(), getMin(), getSum()); } Might be a good thing to port this functionnality in DescriptiveStatistics so ones can do recap.getSummary()instead of new StatisticalSummaryValues(recap.getMean(), recap.getVariance(), recap.getN(), recap.getMax(), recap.getMin(), recap.getSum()) What do you think about this?
Regards :) Adriean