|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.data.DataCell
org.knime.core.data.def.BooleanCell
public final class BooleanCell
A data cell implementation holding a boolean value by storing this value in
a private boolean member. It provides an boolean value, a double
value, a fuzzy number value, as well as a fuzzy interval value.
This class is not to be instantiated; use the singleton representing the true and false state.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.knime.core.data.BooleanValue |
|---|
BooleanValue.BooleanUtilityFactory |
| Nested classes/interfaces inherited from interface org.knime.core.data.IntValue |
|---|
IntValue.IntUtilityFactory |
| Nested classes/interfaces inherited from interface org.knime.core.data.LongValue |
|---|
LongValue.LongUtilityFactory |
| Nested classes/interfaces inherited from interface org.knime.core.data.DoubleValue |
|---|
DoubleValue.DoubleUtilityFactory |
| Nested classes/interfaces inherited from interface org.knime.core.data.ComplexNumberValue |
|---|
ComplexNumberValue.ComplexNumberUtilityFactory |
| Nested classes/interfaces inherited from interface org.knime.core.data.FuzzyNumberValue |
|---|
FuzzyNumberValue.FuzzyNumberUtilityFactory |
| Nested classes/interfaces inherited from interface org.knime.core.data.FuzzyIntervalValue |
|---|
FuzzyIntervalValue.FuzzyIntervalUtilityFactory |
| Nested classes/interfaces inherited from interface org.knime.core.data.DataValue |
|---|
DataValue.UtilityFactory |
| Field Summary | |
|---|---|
static BooleanCell |
FALSE
FALSE instance. |
static BooleanCell |
TRUE
TRUE instance. |
static DataType |
TYPE
Convenience access member for DataType.getType(BooleanCell.class). |
| Fields inherited from interface org.knime.core.data.BooleanValue |
|---|
UTILITY |
| Fields inherited from interface org.knime.core.data.IntValue |
|---|
UTILITY |
| Fields inherited from interface org.knime.core.data.LongValue |
|---|
UTILITY |
| Fields inherited from interface org.knime.core.data.DoubleValue |
|---|
UTILITY |
| Fields inherited from interface org.knime.core.data.ComplexNumberValue |
|---|
UTILITY |
| Fields inherited from interface org.knime.core.data.FuzzyNumberValue |
|---|
UTILITY |
| Fields inherited from interface org.knime.core.data.FuzzyIntervalValue |
|---|
UTILITY |
| Fields inherited from interface org.knime.core.data.NominalValue |
|---|
UTILITY |
| Method Summary | |
|---|---|
protected boolean |
equalsDataCell(DataCell dc)
Derived classes implement their specific equals function here. |
static BooleanCell |
get(boolean value)
Get singleton instance for given value. |
boolean |
getBooleanValue()
|
static DataCellSerializer<BooleanCell> |
getCellSerializer()
Returns the factory to read/write DataCells of this class from/to a DataInput/DataOutput. |
double |
getCenterOfGravity()
|
double |
getCore()
|
double |
getDoubleValue()
Returns 1 if value is true or 0 for false. |
double |
getImaginaryValue()
|
int |
getIntValue()
Returns 1 if value is true or 0 for false. |
long |
getLongValue()
Returns 1 if value is true or 0 for false. |
double |
getMaxCore()
|
double |
getMaxSupport()
|
double |
getMinCore()
|
double |
getMinSupport()
|
static Class<? extends DataValue> |
getPreferredValueClass()
Returns the preferred value class of this cell implementation. |
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. |
| Methods inherited from class org.knime.core.data.DataCell |
|---|
equals, getType, isMissing |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final BooleanCell TRUE
public static final BooleanCell FALSE
public static final DataType TYPE
DataType.getType(BooleanCell.class).
DataType.getType(Class)| Method Detail |
|---|
public static final BooleanCell get(boolean value)
value - The value
public static final Class<? extends DataValue> getPreferredValueClass()
public static final DataCellSerializer<BooleanCell> getCellSerializer()
DataCellpublic boolean getBooleanValue()
getBooleanValue in interface BooleanValueboolean value.public int getIntValue()
getIntValue in interface IntValueint value.public long getLongValue()
getLongValue in interface LongValuelong value.public 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 to
true if this is equal to the argument,
false if notpublic int hashCode()
DataCell objects return the same hash code.
hashCode in class DataCellDataCellObject.hashCode(),
DataCell.equals(java.lang.Object)public String toString()
toString in class DataCell
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||