public static enum Layer.DataSize extends java.lang.Enum<Layer.DataSize>
Enum Constant and Description |
---|
BIT |
BIT_PER_CHUNK |
BYTE |
NIBBLE |
NONE |
Modifier and Type | Field and Description |
---|---|
int |
maxValue |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
toString(int value) |
static Layer.DataSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Layer.DataSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Layer.DataSize BIT
public static final Layer.DataSize NIBBLE
public static final Layer.DataSize BYTE
public static final Layer.DataSize BIT_PER_CHUNK
public static final Layer.DataSize NONE
public static Layer.DataSize[] values()
for (Layer.DataSize c : Layer.DataSize.values()) System.out.println(c);
public static Layer.DataSize 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 abstract java.lang.String toString(int value)