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 TypeMethodDescriptionbooleanid()Returns the type ID enum.booleanisFloat()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:DataTypeReturns true if the type is float or Float. -
name
Description copied from interface:DataTypeReturns the type name used in external catalogs. DataType.of(name()) should return the same type. -
id
Description copied from interface:DataTypeReturns the type ID enum. -
toString
-
toString
Description copied from interface:DataTypeReturns the string representation of a value of the type. -
valueOf
Description copied from interface:DataTypeReturns the value from its string representation. -
equals
-