private static enum Client.ClosedByConstant extends java.lang.Enum<Client.ClosedByConstant>
Enum Constant and Description |
---|
CLOSED_BY_CLIENT |
CLOSED_BY_SERVER |
NOT_CLOSED |
Modifier and Type | Method and Description |
---|---|
static Client.ClosedByConstant |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Client.ClosedByConstant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Client.ClosedByConstant NOT_CLOSED
public static final Client.ClosedByConstant CLOSED_BY_SERVER
public static final Client.ClosedByConstant CLOSED_BY_CLIENT
public static Client.ClosedByConstant[] values()
for (Client.ClosedByConstant c : Client.ClosedByConstant.values()) System.out.println(c);
public static Client.ClosedByConstant valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null