| Enum Constant and Description |
|---|
CONTINUE |
NOREPLY_WAIT |
SERVER_INFO |
START |
STOP |
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static QueryType |
fromValue(int value) |
static @Nullable QueryType |
maybeFromValue(int value) |
static QueryType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QueryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryType START
public static final QueryType CONTINUE
public static final QueryType STOP
public static final QueryType NOREPLY_WAIT
public static final QueryType SERVER_INFO
public static QueryType[] values()
for (QueryType c : QueryType.values()) System.out.println(c);
public static QueryType 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 nullpublic static QueryType fromValue(int value)
@Nullable public static @Nullable QueryType maybeFromValue(int value)