public class Median extends Percentile implements Serializable
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.
Constructor and Description |
---|
Median()
Default constructor.
|
Median(Median original)
Copy constructor, creates a new
Median identical
to the original |
copy, copy, evaluate, evaluate, evaluate, evaluate, getQuantile, setData, setData, setQuantile
evaluate, evaluate, getData, getDataRef, test, test, test, test
public Median()
public Median(Median original) throws NullArgumentException
Median
identical
to the original
original
- the Median
instance to copyNullArgumentException
- if original is nullCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.