Package smile.data.type
Enum Class DataType.ID
- All Implemented Interfaces:
Serializable
,Comparable<DataType.ID>
,Constable
- Enclosing interface:
DataType
Data type ID.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionArray type ID.Boolean type ID.Byte type ID.Char type ID.Date type ID.DateTime type ID.Decimal type ID.Double type ID.Float type ID.Integer type ID.Long type ID.Object type ID.Short type ID.String type ID.Struct type ID.Time type ID. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataType.ID
Returns the enum constant of this class with the specified name.static DataType.ID[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Boolean
Boolean type ID. -
Byte
Byte type ID. -
Char
Char type ID. -
Short
Short type ID. -
Integer
Integer type ID. -
Long
Long type ID. -
Float
Float type ID. -
Double
Double type ID. -
Decimal
Decimal type ID. -
String
String type ID. -
Date
Date type ID. -
Time
Time type ID. -
DateTime
DateTime type ID. -
Object
Object type ID. -
Array
Array type ID. -
Struct
Struct type ID.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-