| Enum Constant and Description |
|---|
BOOL |
BYTE |
COMPRESSED |
DOUBLE |
FLOAT |
HALF |
INT |
LONG |
SHORT |
UBYTE |
UNKNOWN |
UTF8 |
| Modifier and Type | Method and Description |
|---|---|
static DataType |
fromInt(int type) |
static DataType |
fromNumpy(java.lang.String numpyDtypeName) |
boolean |
isFPType() |
boolean |
isIntType() |
static DataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataType DOUBLE
public static final DataType FLOAT
public static final DataType HALF
public static final DataType LONG
public static final DataType INT
public static final DataType SHORT
public static final DataType UBYTE
public static final DataType BYTE
public static final DataType BOOL
public static final DataType UTF8
public static final DataType COMPRESSED
public static final DataType UNKNOWN
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static DataType fromInt(int type)
public boolean isFPType()
public boolean isIntType()
public static DataType fromNumpy(java.lang.String numpyDtypeName)
Copyright © 2019. All rights reserved.