public static enum InputFormat.InputFormatUnit extends java.lang.Enum<InputFormat.InputFormatUnit>
Enum Constant and Description |
---|
INPUT_FORMAT_UNIT_PERCENTAGE
Percentage
|
INPUT_FORMAT_UNIT_RAW
Raw
|
INPUT_FORMAT_UNIT_SI
SI
|
INPUT_FORMAT_UNIT_UNKNOWN
Unknown
|
Modifier and Type | Method and Description |
---|---|
static InputFormat.InputFormatUnit |
fromInteger(int value) |
int |
getValue() |
java.lang.String |
toString() |
static InputFormat.InputFormatUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InputFormat.InputFormatUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputFormat.InputFormatUnit INPUT_FORMAT_UNIT_RAW
public static final InputFormat.InputFormatUnit INPUT_FORMAT_UNIT_PERCENTAGE
public static final InputFormat.InputFormatUnit INPUT_FORMAT_UNIT_SI
public static final InputFormat.InputFormatUnit INPUT_FORMAT_UNIT_UNKNOWN
public static InputFormat.InputFormatUnit[] values()
for (InputFormat.InputFormatUnit c : InputFormat.InputFormatUnit.values()) System.out.println(c);
public static InputFormat.InputFormatUnit 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 int getValue()
public static InputFormat.InputFormatUnit fromInteger(int value)
public java.lang.String toString()
toString
in class java.lang.Enum<InputFormat.InputFormatUnit>