public static enum HDF5EnumerationType.EnumStorageForm extends java.lang.Enum<HDF5EnumerationType.EnumStorageForm>
Enum Constant and Description |
---|
BYTE
One byte, for up to 255 alternatives.
|
INT
Four bytes, for more than 65535 alternatives.
|
SHORT
Two bytes, for up to 65535 alternatives.
|
Modifier and Type | Method and Description |
---|---|
byte |
getStorageSize()
Return the number of bytes (1, 2 or 4) of this storage form.
|
static HDF5EnumerationType.EnumStorageForm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HDF5EnumerationType.EnumStorageForm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HDF5EnumerationType.EnumStorageForm BYTE
public static final HDF5EnumerationType.EnumStorageForm SHORT
public static final HDF5EnumerationType.EnumStorageForm INT
public static HDF5EnumerationType.EnumStorageForm[] values()
for (HDF5EnumerationType.EnumStorageForm c : HDF5EnumerationType.EnumStorageForm.values()) System.out.println(c);
public static HDF5EnumerationType.EnumStorageForm 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 byte getStorageSize()