public enum GoalValueUnit extends java.lang.Enum<GoalValueUnit>
| Enum Constant and Description |
|---|
MILLISECONDS |
SECONDS |
| Modifier and Type | Method and Description |
|---|---|
static GoalValueUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GoalValueUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GoalValueUnit MILLISECONDS
public static final GoalValueUnit SECONDS
public static GoalValueUnit[] values()
for (GoalValueUnit c : GoalValueUnit.values()) System.out.println(c);
public static GoalValueUnit 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 null