public static enum DemoCommands.Day extends Enum<DemoCommands.Day>
| Enum Constant and Description |
|---|
FRIDAY |
MONDAY |
SATURDAY |
SUNDAY |
THURSDAY |
TUESDAY |
WEDNESDAY |
| Modifier and Type | Method and Description |
|---|---|
static DemoCommands.Day |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DemoCommands.Day[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DemoCommands.Day SUNDAY
public static final DemoCommands.Day MONDAY
public static final DemoCommands.Day TUESDAY
public static final DemoCommands.Day WEDNESDAY
public static final DemoCommands.Day THURSDAY
public static final DemoCommands.Day FRIDAY
public static final DemoCommands.Day SATURDAY
public static DemoCommands.Day[] values()
for (DemoCommands.Day c : DemoCommands.Day.values()) System.out.println(c);
public static DemoCommands.Day 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 © 2023 LSST. All rights reserved.