public enum CommandState extends java.lang.Enum<CommandState>
| Enum Constant and Description |
|---|
DELIVERED |
DONE |
INCOMPLETE |
SENDING |
| Modifier and Type | Method and Description |
|---|---|
static CommandState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandState SENDING
public static final CommandState DELIVERED
public static final CommandState INCOMPLETE
public static final CommandState DONE
public static CommandState[] values()
for (CommandState c : CommandState.values()) System.out.println(c);
public static CommandState 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 nullCopyright 2015 Kii Corporation. All rights reserved. (Last updated on 2016-10-13 08:55 UTC)