@Immutable public abstract static class Summary.Snapshot.ValueAtPercentile extends Object
Constructor and Description |
---|
ValueAtPercentile() |
Modifier and Type | Method and Description |
---|---|
static Summary.Snapshot.ValueAtPercentile |
create(double percentile,
double value)
Creates a
Summary.Snapshot.ValueAtPercentile . |
abstract double |
getPercentile()
Returns the percentile in this
ValueAtPercentile . |
abstract double |
getValue()
Returns the value in this
ValueAtPercentile . |
public abstract double getPercentile()
ValueAtPercentile
.
Must be in the interval (0.0, 100.0].
ValueAtPercentile
.public abstract double getValue()
ValueAtPercentile
.ValueAtPercentile
.public static Summary.Snapshot.ValueAtPercentile create(double percentile, double value)
Summary.Snapshot.ValueAtPercentile
.percentile
- the percentile in this ValueAtPercentile
.value
- the value in this ValueAtPercentile
.ValueAtPercentile
with the given values.