private static class AggregateSummaryStatistics.AggregatingSummaryStatistics extends SummaryStatistics
SummaryStatistics for aggregation.| Modifier and Type | Field and Description |
|---|---|
private SummaryStatistics |
aggregateStatistics
An additional SummaryStatistics into which values added to these
statistics (and possibly others) are aggregated
|
private static long |
serialVersionUID
The serialization version of this class
|
| Constructor and Description |
|---|
AggregateSummaryStatistics.AggregatingSummaryStatistics(SummaryStatistics aggregateStatistics)
Initializes a new AggregatingSummaryStatistics with the specified
aggregate statistics object
|
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(double value)
Add a value to the data
|
boolean |
equals(java.lang.Object object)
Returns true iff
object is a
SummaryStatistics instance and all statistics have the
same values as this. |
int |
hashCode()
Returns hash code based on values of statistics
|
clear, copy, copy, getGeoMeanImpl, getGeometricMean, getMax, getMaxImpl, getMean, getMeanImpl, getMin, getMinImpl, getN, getSecondMoment, getStandardDeviation, getSum, getSumImpl, getSumLogImpl, getSummary, getSumOfLogs, getSumsq, getSumsqImpl, getVariance, getVarianceImpl, setGeoMeanImpl, setMaxImpl, setMeanImpl, setMinImpl, setSumImpl, setSumLogImpl, setSumsqImpl, setVarianceImpl, toStringprivate static final long serialVersionUID
private final SummaryStatistics aggregateStatistics
public AggregateSummaryStatistics.AggregatingSummaryStatistics(SummaryStatistics aggregateStatistics)
aggregateStatistics - a SummaryStatistics into which
values added to this statistics object should be aggregatedpublic void addValue(double value)
addValue in class SummaryStatisticsvalue - the value to addSummaryStatistics.addValue(double)public boolean equals(java.lang.Object object)
object is a
SummaryStatistics instance and all statistics have the
same values as this.equals in class SummaryStatisticsobject - the object to test equality against.public int hashCode()
hashCode in class SummaryStatisticsCopyright (c) 2003-2013 Apache Software Foundation