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