public interface Histogram
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Histogram.Bucket
A histogram bucket.
|
| Modifier and Type | Method and Description |
|---|---|
List<Histogram.Bucket> |
getBuckets()
Returns the histograms buckets
|
default double |
getMaximum()
The maximum value.
|
default double |
getMinimum()
The minimum value.
|
double[] |
getQuantileBounds(double quantile)
Returns the bounds
[minimum, maximum) on the given quantile. |
long |
size() |
List<Histogram.Bucket> getBuckets()
default double getMinimum()
This is equal to the inclusive lower bound of the zeroth (0.0) quantile.
default double getMaximum()
This is equal to highest double value strictly less than the exclusive upper bound of the last (1.0) quantile.
double[] getQuantileBounds(double quantile)
throws IllegalArgumentException
[minimum, maximum) on the given quantile.quantile - desired quantileIllegalArgumentException - if quantile if outside the range [0.0..1.0]long size()
Copyright © 2018. All rights reserved.