protected static enum Odometer.STATE extends Enum<Odometer.STATE>
| Modifier and Type | Method and Description |
|---|---|
static Odometer.STATE |
valueOf(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(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 © 1999–2015 UCAR/Unidata. All rights reserved.