Package tech.tablesaw.columns.numbers
Class FloatColumnType
- java.lang.Object
-
- tech.tablesaw.columns.AbstractColumnType
-
- tech.tablesaw.columns.numbers.FloatColumnType
-
- All Implemented Interfaces:
ColumnType
public class FloatColumnType extends AbstractColumnType
TheColumnTypeforFloatColumn
-
-
Field Summary
Fields Modifier and Type Field Description static intBYTE_SIZEstatic FloatParserDEFAULT_PARSERReturns the default parser forFloatColumn-
Fields inherited from interface tech.tablesaw.api.ColumnType
BOOLEAN, DOUBLE, FLOAT, INSTANT, INTEGER, LOCAL_DATE, LOCAL_DATE_TIME, LOCAL_TIME, LONG, SHORT, SKIP, STRING, values
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatColumncreate(String name)Returns a column of this type with the given nameFloatParsercustomParser(ReadOptions options)TODO: Research this method to provide a good commentstatic FloatColumnTypeinstance()Returns the singleton instance of FloatColumnTypestatic floatmissingValueIndicator()Returns the missing value indicator for this column typestatic booleanvalueIsMissing(float value)Returns true if the given value is the missing value indicator for this column type-
Methods inherited from class tech.tablesaw.columns.AbstractColumnType
byteSize, equals, getPrinterFriendlyName, hashCode, name, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface tech.tablesaw.api.ColumnType
compare
-
-
-
-
Field Detail
-
BYTE_SIZE
public static final int BYTE_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_PARSER
public static final FloatParser DEFAULT_PARSER
Returns the default parser forFloatColumn
-
-
Method Detail
-
instance
public static FloatColumnType instance()
Returns the singleton instance of FloatColumnType
-
create
public FloatColumn create(String name)
Returns a column of this type with the given name
-
customParser
public FloatParser customParser(ReadOptions options)
TODO: Research this method to provide a good comment
-
valueIsMissing
public static boolean valueIsMissing(float value)
Returns true if the given value is the missing value indicator for this column type
-
missingValueIndicator
public static float missingValueIndicator()
Returns the missing value indicator for this column type
-
-