public static enum DataBuffer.Type extends Enum<DataBuffer.Type>
Enum Constant and Description |
---|
COMPRESSED |
DOUBLE |
FLOAT |
HALF |
INT |
LONG |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static DataBuffer.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataBuffer.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataBuffer.Type DOUBLE
public static final DataBuffer.Type FLOAT
public static final DataBuffer.Type INT
public static final DataBuffer.Type HALF
public static final DataBuffer.Type COMPRESSED
public static final DataBuffer.Type LONG
public static final DataBuffer.Type UNKNOWN
public static DataBuffer.Type[] values()
for (DataBuffer.Type c : DataBuffer.Type.values()) System.out.println(c);
public static DataBuffer.Type 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 © 2018. All rights reserved.