Package org.apache.jorphan.math
Class StatCalculatorInteger
StatCalculator for Integer values
- 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class org.apache.jorphan.math.StatCalculator
addAll, addBytes, addSentBytes, addValue, addValue, clear, getCount, getDistribution, getMax, getMean, getMedian, getMin, getPercentPoint, getPercentPoint, getStandardDeviation, getSum, getTotalBytes, getTotalSentBytes 
- 
Constructor Details
- 
StatCalculatorInteger
public StatCalculatorInteger() 
 - 
 - 
Method Details
- 
addValue
public void addValue(int val)  - 
addValue
public void addValue(int val, int sampleCount) Update the calculator with the value for an aggregated sample.- Parameters:
 val- the aggregate valuesampleCount- the number of samples contributing to the aggregate value
 - 
divide
- Specified by:
 dividein classStatCalculator<Integer>
 - 
divide
- Specified by:
 dividein classStatCalculator<Integer>
 
 -