public static enum InputPrimitive.InputFormat extends Enum<InputPrimitive.InputFormat>
Enum Constant and Description |
---|
DECIMAL_TWO_FRACTION_DIGITS
A decimal number with two fraction digits such as "123.45".
|
DIGIT
Ascii digit between '0' to '9'
|
FIXED
The allowed input is fixed to a set of predefined values
|
Modifier and Type | Method and Description |
---|---|
static InputPrimitive.InputFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputPrimitive.InputFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputPrimitive.InputFormat DECIMAL_TWO_FRACTION_DIGITS
public static final InputPrimitive.InputFormat DIGIT
public static final InputPrimitive.InputFormat FIXED
public static InputPrimitive.InputFormat[] values()
for (InputPrimitive.InputFormat c : InputPrimitive.InputFormat.values()) System.out.println(c);
public static InputPrimitive.InputFormat 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 null