public enum ModemState extends Enum<ModemState>
| Enum Constant and Description | 
|---|
COMMAND_STATE  | 
ONLINE_COMMAND_STATE  | 
ONLINE_DATA_STATE  | 
| Modifier and Type | Method and Description | 
|---|---|
static ModemState | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ModemState[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ModemState COMMAND_STATE
public static final ModemState ONLINE_COMMAND_STATE
public static final ModemState ONLINE_DATA_STATE
public static ModemState[] values()
for (ModemState c : ModemState.values()) System.out.println(c);
public static ModemState 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 © 2009–2015 atmodem4j. All rights reserved.