public enum NumericType extends Enum<NumericType>
| Enum Constant and Description |
|---|
AMOUNT
This represents some monetary amount
|
DURATION
Represents a duration.
|
FACTOR
Represents some factor (fractional)
|
NUMBER
It's just a number.
|
PERCENTAGE
Represents a percentage (0..100, fractional)
|
UNKNOWN
Not explicity defined; treated as just a number.
|
| Modifier and Type | Method and Description |
|---|---|
static NumericType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NumericType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumericType UNKNOWN
public static final NumericType NUMBER
public static final NumericType AMOUNT
public static final NumericType DURATION
public static final NumericType PERCENTAGE
public static final NumericType FACTOR
public static NumericType[] values()
for (NumericType c : NumericType.values()) System.out.println(c);
public static NumericType 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 © 2017 etc.to. All rights reserved.