Package smile.data.type
Class FloatType
java.lang.Object
smile.data.type.FloatType
- All Implemented Interfaces:
Serializable
,DataType
Float 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
isFloat()
Returns true if the type is float or Float.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
-
isFloat
public boolean isFloat()Description copied from interface:DataType
Returns true if the type is float or Float. -
name
Description copied from interface:DataType
Returns the type name used in external catalogs. DataType.of(name()) should return the same type. -
id
Description copied from interface:DataType
Returns the type ID enum. -
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
-