|
||||||||||
| 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.StringCell
public final class StringCell
A data cell implementation holding a string value by storing this value in a
private String member.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.knime.core.data.StringValue |
|---|
StringValue.StringUtilityFactory |
| Nested classes/interfaces inherited from interface org.knime.core.data.DataValue |
|---|
DataValue.UtilityFactory |
| Field Summary | |
|---|---|
static DataType |
TYPE
Convenience access member for DataType.getType(StringCell.class). |
| Fields inherited from interface org.knime.core.data.StringValue |
|---|
UTILITY |
| Fields inherited from interface org.knime.core.data.NominalValue |
|---|
UTILITY |
| Constructor Summary | |
|---|---|
StringCell(String str)
Creates a new String Cell based on the given String value. |
|
| Method Summary | |
|---|---|
protected boolean |
equalsDataCell(DataCell dc)
Derived classes implement their specific equals function here. |
static org.knime.core.data.def.StringCell.StringSerializer |
getCellSerializer()
Returns the factory to read/write DataCells of this class from/to a DataInput/DataOutput. |
static Class<? extends DataValue> |
getPreferredValueClass()
Returns the preferred value class of this cell implementation. |
String |
getStringValue()
|
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 DataType TYPE
DataType.getType(StringCell.class).
DataType.getType(Class)| Constructor Detail |
|---|
public StringCell(String str)
str - The String value to store.
NullPointerException - If the given String value is
null.| Method Detail |
|---|
public static final Class<? extends DataValue> getPreferredValueClass()
public static final org.knime.core.data.def.StringCell.StringSerializer getCellSerializer()
DataCellpublic String getStringValue()
getStringValue in interface StringValuepublic String toString()
toString in class DataCellprotected 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||