public static enum Query.LogicalOperator extends Enum<Query.LogicalOperator>
Query
Enum Constant and Description |
---|
AND
Logical operator AND
|
OR
Logical operator OR
|
Modifier and Type | Method and Description |
---|---|
static Query.LogicalOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Query.LogicalOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Query.LogicalOperator AND
public static final Query.LogicalOperator OR
public static Query.LogicalOperator[] values()
for (Query.LogicalOperator c : Query.LogicalOperator.values()) System.out.println(c);
public static Query.LogicalOperator 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