public final class DoubleCell extends DataCell implements DoubleValue, ComplexNumberValue, FuzzyNumberValue, FuzzyIntervalValue, BoundedValue
double member. It provides a double value and a fuzzy
number value, as well as a fuzzy interval value.| Modifier and Type | Class and Description |
|---|---|
static class |
DoubleCell.DoubleCellFactory
Factory for
DoubleCells. |
static class |
DoubleCell.DoubleSerializer
Factory for (de-)serializing a
DoubleCells. |
DoubleValue.DoubleUtilityFactoryComplexNumberValue.ComplexNumberUtilityFactoryFuzzyNumberValue.FuzzyNumberUtilityFactoryFuzzyIntervalValue.FuzzyIntervalUtilityFactoryDataValue.UtilityFactory| Modifier and Type | Field and Description |
|---|---|
static DataType |
TYPE
Convenience access member for
DataType.getType(DoubleCell.class). |
UTILITYUTILITYUTILITYUTILITY| Constructor and Description |
|---|
DoubleCell(double d)
Creates a new cell for a generic double value.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
equalsDataCell(DataCell dc)
Derived classes implement their specific equals function here.
|
static DataCellSerializer<DoubleCell> |
getCellSerializer()
Deprecated.
use
DataTypeRegistry.getSerializer(Class) instead |
double |
getCenterOfGravity() |
double |
getCore() |
double |
getDoubleValue() |
double |
getImaginaryValue() |
double |
getMaxCore() |
double |
getMaxSupport() |
double |
getMinCore() |
double |
getMinSupport() |
double |
getRealValue() |
int |
hashCode()
This method must be implemented in order to ensure that two equal
DataCell objects return the same hash code. |
String |
toString()
Returns the String representation of this cell's value.
|
equalContent, equals, getType, isMissingpublic static final DataType TYPE
DataType.getType(DoubleCell.class).DataType.getType(Class)public DoubleCell(double d)
d - The double value.@Deprecated public static final DataCellSerializer<DoubleCell> getCellSerializer()
DataTypeRegistry.getSerializer(Class) insteadDataCellpublic double getDoubleValue()
getDoubleValue in interface DoubleValuedouble value.public double getCore()
getCore in interface FuzzyNumberValuepublic double getMaxSupport()
getMaxSupport in interface FuzzyIntervalValuegetMaxSupport in interface FuzzyNumberValuepublic double getMinSupport()
getMinSupport in interface FuzzyIntervalValuegetMinSupport in interface FuzzyNumberValuepublic double getMaxCore()
getMaxCore in interface FuzzyIntervalValuepublic double getMinCore()
getMinCore in interface FuzzyIntervalValuepublic double getCenterOfGravity()
getCenterOfGravity in interface FuzzyIntervalValuepublic double getImaginaryValue()
getImaginaryValue in interface ComplexNumberValuepublic double getRealValue()
getRealValue in interface ComplexNumberValueprotected boolean equalsDataCell(DataCell dc)
null or a missing value,
to be of the same class like this.equalsDataCell in class DataCelldc - the cell to compare this totrue if this is equal to the argument,
false if notpublic int hashCode()
DataCell objects return the same hash code. Note that two cells can be equal according to
DataCell.equalsDataCell(DataCell) and DataCell.equalContent(DataValue) so two different cells implementations
with the same preferred value must have the same hash code.hashCode in class DataCellDataCellObject.hashCode(),
DataCell.equals(java.lang.Object)
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.