@Immutable public abstract class BucketBoundaries extends Object
| Constructor and Description |
|---|
BucketBoundaries() |
| Modifier and Type | Method and Description |
|---|---|
static BucketBoundaries |
create(List<Double> bucketBoundaries)
Returns a
BucketBoundaries with the given buckets. |
abstract List<Double> |
getBoundaries()
Returns a list of histogram bucket boundaries.
|
public static final BucketBoundaries create(List<Double> bucketBoundaries)
BucketBoundaries with the given buckets.bucketBoundaries - the boundaries for the buckets in the underlying histogram.BucketBoundaries with the specified boundaries.NullPointerException - if bucketBoundaries is null.IllegalArgumentException - if bucketBoundaries is not sorted.