Package smile.data.type
Class ShortType
java.lang.Object
smile.data.type.PrimitiveType
smile.data.type.ShortType
- All Implemented Interfaces:
Serializable
,DataType
Short 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
-
Method Details
-
isShort
public boolean isShort()Description copied from interface:DataType
Returns true if the type is short or Short.- Returns:
- true if the type is short or Short.
-
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.
-