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