public class StatCalculatorInteger extends StatCalculator<Integer>
| Constructor | Description |
|---|---|
StatCalculatorInteger() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addValue(int val) |
|
void |
addValue(int val,
int sampleCount) |
Update the calculator with the value for an aggregated sample.
|
protected Integer |
divide(Integer val,
int n) |
|
protected Integer |
divide(Integer val,
long n) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAll, addBytes, addValue, addValue, clear, getCount, getDistribution, getMax, getMean, getMedian, getMin, getPercentPoint, getPercentPoint, getStandardDeviation, getSum, getTotalBytespublic void addValue(int val)
public void addValue(int val,
int sampleCount)
val - the aggregate valuesampleCount - the number of samples contributing to the aggregate valueprotected Integer divide(Integer val, int n)
divide in class StatCalculator<Integer>protected Integer divide(Integer val, long n)
divide in class StatCalculator<Integer>Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.