|
Apache JMeter | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jorphan.math.StatCalculator
This class serves as a way to calculate the median of a list of values. It is not threadsafe.
Constructor Summary | |
StatCalculator()
|
Method Summary | |
void |
addAll(StatCalculator calc)
|
void |
addBytes(long newValue)
|
void |
addValue(double newValue)
|
void |
addValue(float newValue)
|
void |
addValue(int newValue)
|
void |
addValue(long newValue)
|
void |
addValue(Number val)
|
void |
clear()
|
int |
getCount()
|
HashMap |
getDistribution()
The method has a limit of 1% as the finest granularity. |
Number |
getMax()
|
double |
getMean()
|
Number |
getMedian()
|
Number |
getMin()
|
Number |
getPercentPoint(double percent)
Get the value which %percent% of the values are less than. |
Number |
getPercentPoint(float percent)
Get the value which %percent% of the values are less than. |
double |
getStandardDeviation()
|
long |
getTotalBytes()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StatCalculator()
Method Detail |
public void clear()
public void addValue(long newValue)
public void addValue(int newValue)
public void addValue(float newValue)
public void addValue(double newValue)
public void addBytes(long newValue)
public void addAll(StatCalculator calc)
public Number getMedian()
public long getTotalBytes()
public Number getPercentPoint(float percent)
percent
-
public Number getPercentPoint(double percent)
percent
-
public HashMap getDistribution()
public double getMean()
public double getStandardDeviation()
public Number getMin()
public Number getMax()
public int getCount()
public void addValue(Number val)
|
Apache JMeter | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |