public static enum ICommand.COMMAND extends Enum<ICommand.COMMAND>
| Modifier and Type | Method and Description |
|---|---|
static ICommand.COMMAND |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ICommand.COMMAND[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ICommand.COMMAND START
public static final ICommand.COMMAND STOP
public static ICommand.COMMAND[] values()
for (ICommand.COMMAND c : ICommand.COMMAND.values()) System.out.println(c);
public static ICommand.COMMAND 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 © 2004–2020 Ideaconsult Ltd.. All rights reserved.