lux.xpath
Enum BinaryOperation.Operator
java.lang.Object
java.lang.Enum<BinaryOperation.Operator>
lux.xpath.BinaryOperation.Operator
- All Implemented Interfaces:
- Serializable, Comparable<BinaryOperation.Operator>
- Enclosing class:
- BinaryOperation
public static enum BinaryOperation.Operator
- extends Enum<BinaryOperation.Operator>
AND
public static final BinaryOperation.Operator AND
OR
public static final BinaryOperation.Operator OR
INTERSECT
public static final BinaryOperation.Operator INTERSECT
EXCEPT
public static final BinaryOperation.Operator EXCEPT
UNION
public static final BinaryOperation.Operator UNION
ADD
public static final BinaryOperation.Operator ADD
SUB
public static final BinaryOperation.Operator SUB
MUL
public static final BinaryOperation.Operator MUL
DIV
public static final BinaryOperation.Operator DIV
IDIV
public static final BinaryOperation.Operator IDIV
MOD
public static final BinaryOperation.Operator MOD
EQUALS
public static final BinaryOperation.Operator EQUALS
NE
public static final BinaryOperation.Operator NE
LT
public static final BinaryOperation.Operator LT
GT
public static final BinaryOperation.Operator GT
LE
public static final BinaryOperation.Operator LE
GE
public static final BinaryOperation.Operator GE
AEQ
public static final BinaryOperation.Operator AEQ
ANE
public static final BinaryOperation.Operator ANE
ALT
public static final BinaryOperation.Operator ALT
ALE
public static final BinaryOperation.Operator ALE
AGT
public static final BinaryOperation.Operator AGT
AGE
public static final BinaryOperation.Operator AGE
IS
public static final BinaryOperation.Operator IS
BEFORE
public static final BinaryOperation.Operator BEFORE
AFTER
public static final BinaryOperation.Operator AFTER
TO
public static final BinaryOperation.Operator TO
values
public static BinaryOperation.Operator[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (BinaryOperation.Operator c : BinaryOperation.Operator.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static BinaryOperation.Operator valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
toString
public String toString()
- Overrides:
toString in class Enum<BinaryOperation.Operator>
getResultType
public ValueType getResultType()
getPrecedence
public int getPrecedence()
Copyright © 2013. All Rights Reserved.