public enum DatasetType extends Enum<DatasetType>
Enum Constant and Description |
---|
FLOAT32 |
FLOAT64 |
INT16 |
INT32 |
INT64 |
INT8 |
UINT16 |
UINT32 |
UINT64 |
UINT8 |
Modifier and Type | Field and Description |
---|---|
boolean |
integral
true for integers, false for floats.
|
boolean |
signed
true for integral signed types and floats, false for unsigned integral types.
|
int |
size
Element size in bytes.
|
Modifier and Type | Method and Description |
---|---|
static DatasetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatasetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatasetType INT8
public static final DatasetType UINT8
public static final DatasetType INT16
public static final DatasetType UINT16
public static final DatasetType INT32
public static final DatasetType UINT32
public static final DatasetType INT64
public static final DatasetType UINT64
public static final DatasetType FLOAT32
public static final DatasetType FLOAT64
public final boolean integral
public final int size
public final boolean signed
public static DatasetType[] values()
for (DatasetType c : DatasetType.values()) System.out.println(c);
public static DatasetType 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 nullCopyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.