public class DoubleBucket extends BucketValue
Double
bucket in a PredefinedFunction
.Constructor and Description |
---|
DoubleBucket(ConstantValue<?> from,
ConstantValue<?> to)
Constructs a new instance of this class.
|
DoubleBucket(double from,
double to)
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
DoubleBucket |
copy()
Returns a deep copy of this
|
static DoubleValue |
nextValue(DoubleValue value)
Returns the next distinct value.
|
compareTo, getFrom, getTo
asImage, asString, getLevel, getLevelOrNull, resolveLevel, setLabel, visit
getImage, getLabel, toString
public DoubleBucket(double from, double to)
from
- The from-value to assign to this.to
- The to-value to assign to this.public DoubleBucket(ConstantValue<?> from, ConstantValue<?> to)
from
- The from-value to assign to this.to
- The to-value to assign to this.public static DoubleValue nextValue(DoubleValue value)
value
- The base value.public DoubleBucket copy()
GroupingExpression
copy
in class BucketValue
Copyright © 2018. All rights reserved.