Package smile.data.type
Class DoubleType
java.lang.Object
smile.data.type.PrimitiveType
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
Methods inherited from class smile.data.type.PrimitiveType
equals, id, isNullable, name, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface smile.data.type.DataType
isBoolean, isByte, isChar, isDecimal, isFloat, isFloating, isInt, isIntegral, isLong, isNumeric, isObject, isPrimitive, isShort, isString
-
Method Details
-
isDouble
public boolean isDouble()Description copied from interface:DataType
Returns true if the type is double or Double.- Returns:
- true if the type is double or Double.
-
toString
Description copied from interface:DataType
Returns the string representation of a value of the type.- Parameters:
o
- the value.- Returns:
- the string representation
-
valueOf
Description copied from interface:DataType
Returns the value from its string representation.- Parameters:
s
- the string representation of a value of this type.- Returns:
- the value.
-