Package smile.data.type
Class StringType
java.lang.Object
smile.data.type.StringType
- All Implemented Interfaces:
Serializable
,DataType
String 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
isObject()
Returns true if the type is ObjectType.boolean
isString()
Returns true if the type is String.name()
Returns the type name used in external catalogs.toString()
Returns the value from its string representation.
-
Method Details
-
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
-
valueOf
Description copied from interface:DataType
Returns the value from its string representation. -
isString
public boolean isString()Description copied from interface:DataType
Returns true if the type is String. -
isObject
public boolean isObject()Description copied from interface:DataType
Returns true if the type is ObjectType. -
equals
-