@Immutable public final class StatsImpl extends Object implements Stats
Modifier and Type | Class and Description |
---|---|
static class |
StatsImpl.Builder |
Modifier and Type | Method and Description |
---|---|
static StatsImpl.Builder |
builder() |
boolean |
equals(Object o) |
double |
getAverage()
Average of accumulated values.
|
long |
getCount()
Number of accumulated values.
|
double |
getMax()
Maximum from accumulated values.
|
double |
getMin()
Minimum from accumulated values.
|
Map<Integer,Double> |
getPercentiles()
Returns an unmodifiable map, that contains percentiles and corresponding values of accumulated data.
|
double |
getStdDeviation()
Returns standard deviation of accumulated values.
|
int |
hashCode() |
String |
toString() |
public long getCount()
public double getMin()
public double getMax()
public double getAverage()
getAverage
in interface Stats
public double getStdDeviation()
getStdDeviation
in interface Stats
public Map<Integer,Double> getPercentiles()
getPercentiles
in interface Stats
public static StatsImpl.Builder builder()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.