public static enum MatlabIo.DataType extends Enum<MatlabIo.DataType>
Enum Constant and Description |
---|
MI_DOUBLE
Denotes a
double . |
MI_INT16
Denotes a signed
short . |
MI_INT32
Denotes a signed
int . |
MI_INT8
Denotes a signed
byte . |
MI_SINGLE
Denotes a
float . |
MI_UINT16
Denotes an unsigned
short . |
MI_UINT32
Denotes an unsigned
int . |
MI_UINT8
Denotes an unsigned
byte . |
Modifier and Type | Method and Description |
---|---|
abstract int |
getMatlabValue()
Gets the physical MATLAB value.
|
abstract int |
sizeOf()
Gets the size of this type in
byte s. |
static MatlabIo.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatlabIo.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatlabIo.DataType MI_INT8
byte
.public static final MatlabIo.DataType MI_UINT8
byte
.public static final MatlabIo.DataType MI_INT16
short
.public static final MatlabIo.DataType MI_UINT16
short
.public static final MatlabIo.DataType MI_INT32
int
.public static final MatlabIo.DataType MI_UINT32
int
.public static final MatlabIo.DataType MI_SINGLE
float
.public static final MatlabIo.DataType MI_DOUBLE
double
.public static MatlabIo.DataType[] values()
for (MatlabIo.DataType c : MatlabIo.DataType.values()) System.out.println(c);
public static MatlabIo.DataType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic abstract int getMatlabValue()
public abstract int sizeOf()
byte
s.