Constructor | Description |
---|---|
ConcurrentSummaryStats() |
Modifier and Type | Method | Description |
---|---|---|
void |
add(double x) |
Adds a value to the stream.
|
void |
addAll(double[] a) |
Adds values to the stream.
|
void |
addAll(DoubleList l) |
Adds values to the stream.
|
static void |
main(java.lang.String[] args) |
|
double |
max() |
Returns the maximum of the values added so far.
|
double |
mean() |
Returns the mean of the values added so far.
|
double |
min() |
Returns the minimum of the values added so far.
|
double |
relativeStandardDeviation() |
Returns the relative standard deviation of the values added so far.
|
double |
sampleRelativeStandardDeviation() |
Returns the sample relative standard deviation of the values added so far.
|
double |
sampleStandardDeviation() |
Returns the sample standard deviation of the values added so far.
|
double |
sampleVariance() |
Returns the sample variance of the values added so far.
|
int |
size() |
Deprecated.
|
long |
size64() |
Returns the number of values added so far.
|
double |
standardDeviation() |
Returns the standard deviation of the values added so far.
|
double |
sum() |
Returns the sum of the values added so far.
|
java.lang.String |
toString() |
|
double |
variance() |
Returns the variance of the values added so far.
|
public void add(double x)
x
- the new value.public void addAll(double[] a)
a
- an array of new values.public void addAll(DoubleList l)
l
- a list of new values.public double mean()
public double sum()
public double sampleVariance()
variance()
public double variance()
sampleVariance()
public double sampleStandardDeviation()
standardDeviation()
public double standardDeviation()
sampleStandardDeviation()
public double sampleRelativeStandardDeviation()
relativeStandardDeviation()
public double relativeStandardDeviation()
sampleRelativeStandardDeviation()
public double min()
public double max()
public long size64()
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)