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