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