@Immutable public abstract static class Distribution.BucketOptions.ExplicitOptions extends Distribution.BucketOptions
Distribution.BucketOptions.Distribution.BucketOptions.ExplicitOptions| Modifier and Type | Method and Description |
|---|---|
abstract List<Double> |
getBucketBoundaries()
Returns the bucket boundaries of this distribution.
|
<T> T |
match(Function<? super Distribution.BucketOptions.ExplicitOptions,T> explicitFunction,
Function<? super Distribution.BucketOptions,T> defaultFunction)
Applies the given match function to the underlying BucketOptions.
|
explicitOptionspublic final <T> T match(Function<? super Distribution.BucketOptions.ExplicitOptions,T> explicitFunction, Function<? super Distribution.BucketOptions,T> defaultFunction)
Distribution.BucketOptionsmatch in class Distribution.BucketOptionsexplicitFunction - the function that should be applied if the BucketOptions has type
ExplicitOptions.defaultFunction - the function that should be applied if the BucketOptions has a type
that was added after this match method was added to the API. See Functions for some common functions for handling unknown types.