Package smile.data.type
Class PrimitiveType
java.lang.Object
smile.data.type.PrimitiveType
- All Implemented Interfaces:
Serializable
,DataType
- Direct Known Subclasses:
BooleanType
,ByteType
,CharType
,DoubleType
,FloatType
,IntType
,LongType
,ShortType
Primitive data type.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface smile.data.type.DataType
DataType.ID
-
Method Summary
-
Method Details
-
id
Description copied from interface:DataType
Returns the type ID enum. -
name
Description copied from interface:DataType
Returns the type name used in external catalogs. DataType.of(name()) should return the same type. -
toString
-
isNullable
public boolean isNullable()Description copied from interface:DataType
Returns true if the data may be null.- Specified by:
isNullable
in interfaceDataType
- Returns:
- true if the data may be null.
-
equals
-