Package tech.tablesaw.columns.numbers
Class DoubleColumnType
- java.lang.Object
-
- tech.tablesaw.columns.AbstractColumnType
-
- tech.tablesaw.columns.numbers.DoubleColumnType
-
- All Implemented Interfaces:
ColumnType
public class DoubleColumnType extends AbstractColumnType
TheColumnTypeforDoubleColumn
-
-
Field Summary
Fields Modifier and Type Field Description static DoubleParserDEFAULT_PARSERReturns the default parser for DoubleColumn-
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 DoubleColumncreate(String name)Returns a column of this type with the given nameDoubleParsercustomParser(ReadOptions options)TODO: Research this method to provide a good commentstatic DoubleColumnTypeinstance()Returns the singleton instance of DoubleColumnTypestatic doublemissingValueIndicator()Returns the missing value indicator for this column type NOTE: Clients should usevalueIsMissing(double)to test for missing value indicatorsstatic booleanvalueIsMissing(double 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
-
DEFAULT_PARSER
public static final DoubleParser DEFAULT_PARSER
Returns the default parser for DoubleColumn
-
-
Method Detail
-
instance
public static DoubleColumnType instance()
Returns the singleton instance of DoubleColumnType
-
create
public DoubleColumn create(String name)
Returns a column of this type with the given name
-
customParser
public DoubleParser customParser(ReadOptions options)
TODO: Research this method to provide a good comment
-
valueIsMissing
public static boolean valueIsMissing(double value)
Returns true if the given value is the missing value indicator for this column type
-
missingValueIndicator
public static double missingValueIndicator()
Returns the missing value indicator for this column type NOTE: Clients should usevalueIsMissing(double)to test for missing value indicators
-
-