|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.stat.descriptive.AbstractUnivariateStatistic
org.apache.commons.math.stat.descriptive.rank.Percentile
org.apache.commons.math.stat.descriptive.rank.Median
public class Median
Returns the median of the available values. This is the same as the 50th percentile.
See Percentile
for a description of the algorithm used.
Note that this implementation is not synchronized. If
multiple threads access an instance of this class concurrently, and at least
one of the threads invokes the increment()
or
clear()
method, it must be synchronized externally.
Field Summary | |
---|---|
private static long |
serialVersionUID
Serializable version identifier |
Constructor Summary | |
---|---|
Median()
Default constructor. |
Method Summary |
---|
Methods inherited from class org.apache.commons.math.stat.descriptive.rank.Percentile |
---|
evaluate, evaluate, evaluate, getQuantile, setQuantile |
Methods inherited from class org.apache.commons.math.stat.descriptive.AbstractUnivariateStatistic |
---|
evaluate, test |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
public Median()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |