public static enum Command.Direction extends Enum<Command.Direction>
| Modifier and Type | Method and Description |
|---|---|
static Command.Direction |
forValue(String value)
Generate a Direction from a string.
|
String |
toString() |
static Command.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Command.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command.Direction FROM_SIM
public static final Command.Direction TO_SIM
public static Command.Direction[] values()
for (Command.Direction c : Command.Direction.values()) System.out.println(c);
public static Command.Direction 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 nullpublic String toString()
toString in class Enum<Command.Direction>public static Command.Direction forValue(String value)
value - string valueCopyright © 2016 Twilio, Inc. All Rights Reserved.