public static enum Transport.READY_STATE extends Enum<Transport.READY_STATE>
Enum Constant and Description |
---|
CLOSED |
CLOSING |
CONNECTING |
OPEN |
Modifier and Type | Method and Description |
---|---|
static Transport.READY_STATE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transport.READY_STATE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transport.READY_STATE CONNECTING
public static final Transport.READY_STATE OPEN
public static final Transport.READY_STATE CLOSING
public static final Transport.READY_STATE CLOSED
public static Transport.READY_STATE[] values()
for (Transport.READY_STATE c : Transport.READY_STATE.values()) System.out.println(c);
public static Transport.READY_STATE 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. All rights reserved.