public class Statistics
extends java.lang.Object
Constructor and Description |
---|
Statistics(long count,
double min,
double max,
double average,
double standardDeviation) |
Modifier and Type | Method and Description |
---|---|
double |
average()
Return the current average of the data, or -1 if there is no
data.
|
long |
count()
Return the number of data points recorded.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
double |
max()
Return the maximum value of call data points records.
|
double |
min()
Return the minimum value of call data points records.
|
double |
standardDeviation()
Return the standard deviation of the data, or -1 if there is
no data.
|
public Statistics(long count, double min, double max, double average, double standardDeviation)
public long count()
public double min()
public double max()
public double average()
public double standardDeviation()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object