public enum Status extends Enum<Status>
| Enum Constant and Description |
|---|
Leisure |
Normal |
Sick |
Sleeping |
Vacation |
Working |
| Modifier and Type | Method and Description |
|---|---|
static Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status Normal
public static final Status Working
public static final Status Leisure
public static final Status Vacation
public static final Status Sleeping
public static final Status Sick
public static Status[] values()
for (Status c : Status.values()) System.out.println(c);
public static Status 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 © 2015 Power TAC. All Rights Reserved.