|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math3.stat.descriptive.SummaryStatistics
org.apache.commons.math3.stat.descriptive.AggregateSummaryStatistics.AggregatingSummaryStatistics
private static class AggregateSummaryStatistics.AggregatingSummaryStatistics
A SummaryStatistics that also forwards all values added to it to a second
SummaryStatistics
for aggregation.
Field Summary | |
---|---|
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 Summary | |
---|---|
AggregateSummaryStatistics.AggregatingSummaryStatistics(SummaryStatistics aggregateStatistics)
Initializes a new AggregatingSummaryStatistics with the specified aggregate statistics object |
Method Summary | |
---|---|
void |
addValue(double value)
Add a value to the data |
boolean |
equals(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 |
Methods inherited from class org.apache.commons.math3.stat.descriptive.SummaryStatistics |
---|
clear, copy, copy, getGeoMeanImpl, getGeometricMean, getMax, getMaxImpl, getMean, getMeanImpl, getMin, getMinImpl, getN, getPopulationVariance, getSecondMoment, getStandardDeviation, getSum, getSumImpl, getSumLogImpl, getSummary, getSumOfLogs, getSumsq, getSumsqImpl, getVariance, getVarianceImpl, setGeoMeanImpl, setMaxImpl, setMeanImpl, setMinImpl, setSumImpl, setSumLogImpl, setSumsqImpl, setVarianceImpl, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private final SummaryStatistics aggregateStatistics
Constructor Detail |
---|
public AggregateSummaryStatistics.AggregatingSummaryStatistics(SummaryStatistics aggregateStatistics)
aggregateStatistics
- a SummaryStatistics
into which
values added to this statistics object should be aggregatedMethod Detail |
---|
public void addValue(double value)
addValue
in class SummaryStatistics
value
- the value to addSummaryStatistics.addValue(double)
public boolean equals(Object object)
object
is a
SummaryStatistics
instance and all statistics have the
same values as this.
equals
in class SummaryStatistics
object
- the object to test equality against.
public int hashCode()
hashCode
in class SummaryStatistics
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |