public enum QueryFlag extends Enum<QueryFlag> implements Flag
| Enum Constant and Description |
|---|
SLAVE_OK |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSet(int flags) |
int |
removeFrom(int flags) |
static QueryFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryFlag SLAVE_OK
public static QueryFlag[] values()
for (QueryFlag c : QueryFlag.values()) System.out.println(c);
public static QueryFlag 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 nullpublic int removeFrom(int flags)
removeFrom in interface FlagCopyright © 2013. All Rights Reserved.