public enum ATStringCommands extends Enum<ATStringCommands>
Modifier and Type | Method and Description |
---|---|
static ATStringCommands |
get(String command)
Returns the
ATStringCommands for the given AT Command alias. |
String |
getCommand()
Returns the AT Command alias.
|
static ATStringCommands |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ATStringCommands[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ATStringCommands CC
public static final ATStringCommands KY
public static final ATStringCommands NI
public static final ATStringCommands NK
public static final ATStringCommands ZU
public static final ATStringCommands ZV
public static ATStringCommands get(String command)
ATStringCommands
for the given AT Command alias.command
- The AT Command alias to retrieve the corresponding
ATStringCommands
.ATStringCommands
associated to the given AT Command
alias.public String getCommand()
public static ATStringCommands 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 static ATStringCommands[] values()
for (ATStringCommands c : ATStringCommands.values()) System.out.println(c);
© Copyright 2014–2014 Digi International Inc. All rights reserved.