public static enum PaymentManager.ConnectionState extends Enum<PaymentManager.ConnectionState>
Enum Constant and Description |
---|
CONNECTED |
DISCONNECTED |
Modifier and Type | Method and Description |
---|---|
static PaymentManager.ConnectionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentManager.ConnectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentManager.ConnectionState CONNECTED
public static final PaymentManager.ConnectionState DISCONNECTED
public static PaymentManager.ConnectionState[] values()
for (PaymentManager.ConnectionState c : PaymentManager.ConnectionState.values()) System.out.println(c);
public static PaymentManager.ConnectionState 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 null