public enum CloseState extends Enum<CloseState>
Enum Constant and Description |
---|
CLOSED |
LOCALLY_CLOSED |
NOT_CLOSED |
REMOTELY_CLOSED |
Modifier and Type | Method and Description |
---|---|
static CloseState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloseState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloseState NOT_CLOSED
public static final CloseState LOCALLY_CLOSED
public static final CloseState REMOTELY_CLOSED
public static final CloseState CLOSED
public static CloseState[] values()
for (CloseState c : CloseState.values()) System.out.println(c);
public static CloseState 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 © 1995-2016 Webtide. All Rights Reserved.