public interface IntervalValue extends DataValue
Modifier and Type | Interface and Description |
---|---|
static class |
IntervalValue.IntervalUtilityFactory
Implementations of the meta information of this value class.
|
DataValue.UtilityFactory
Modifier and Type | Field and Description |
---|---|
static DataValue.UtilityFactory |
UTILITY
Meta information to this value type.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(double value)
Determines if the given double value is contained in this interval, to
the left or to the right.
|
int |
compare(DoubleValue value)
Determines if the given double value is contained in this interval, to
the left or to the right.
|
double |
getLeftBound() |
double |
getRightBound() |
boolean |
includes(IntervalValue value)
Determines if the given
IntervalValue is contained in this
interval. |
boolean |
leftBoundIncluded() |
boolean |
rightBoundIncluded() |
static final DataValue.UtilityFactory UTILITY
DataValue.UTILITY
double getLeftBound()
double getRightBound()
boolean leftBoundIncluded()
boolean rightBoundIncluded()
int compare(double value)
value
- the value to checkint compare(DoubleValue value)
value
- the value to checkboolean includes(IntervalValue value)
IntervalValue
is contained in this
interval.value
- the interval to check
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.