Package smile.data.type
Class DoubleType
java.lang.Object
smile.data.type.DoubleType
- All Implemented Interfaces:
Serializable
,DataType
Double data type.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface smile.data.type.DataType
DataType.ID
-
Method Summary
Modifier and TypeMethodDescriptionboolean
id()
Returns the type ID enum.boolean
isDouble()
Returns true if the type is double or Double.name()
Returns the type name used in external catalogs.toString()
Returns the string representation of a value of the type.Returns the value from its string representation.
-
Method Details
-
isDouble
public boolean isDouble()Description copied from interface:DataType
Returns true if the type is double or Double. -
id
Description copied from interface:DataType
Returns the type ID enum. -
name
Description copied from interface:DataType
Returns the type name used in external catalogs. DataType.of(name()) should return the same type. -
toString
-
toString
Description copied from interface:DataType
Returns the string representation of a value of the type. -
valueOf
Description copied from interface:DataType
Returns the value from its string representation. -
equals
-