public enum BinaryOperator extends Enum<BinaryOperator>
Enum Constant and Description |
---|
ADD
Addition.
|
AND
Logical conjunction.
|
CONCATENATE
String concatenation.
|
DIV
Floating point division.
|
EQ
Equal.
|
GEQ
Greater or equal.
|
GT
Greater than.
|
I_DIV
Integer division.
|
LEQ
Less or equal.
|
LT
Less than.
|
MUL
Multiplication.
|
NEQ
Not equal.
|
OR
Logical disjunction.
|
REM
Reminder.
|
STRICT_EQ
Strict version of equality, restricted to just some types.
|
STRICT_NEQ
Strict version of the not-equal operator.
|
SUB
Difference.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
eq(Object left,
Object right) |
abstract Object |
eval(Object left,
Object right) |
static boolean |
leq(Object left,
Object right) |
static boolean |
lt(Object left,
Object right) |
static boolean |
strictEq(Object left,
Object right) |
static BinaryOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BinaryOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryOperator AND
public static final BinaryOperator OR
public static final BinaryOperator CONCATENATE
public static final BinaryOperator LT
public static final BinaryOperator LEQ
public static final BinaryOperator GT
public static final BinaryOperator GEQ
public static final BinaryOperator EQ
public static final BinaryOperator NEQ
public static final BinaryOperator STRICT_EQ
public static final BinaryOperator STRICT_NEQ
public static final BinaryOperator ADD
public static final BinaryOperator SUB
public static final BinaryOperator MUL
public static final BinaryOperator DIV
public static final BinaryOperator I_DIV
public static final BinaryOperator REM
public static BinaryOperator[] values()
for (BinaryOperator c : BinaryOperator.values()) System.out.println(c);
public static BinaryOperator 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 © 2017 The Apache Software Foundation. All rights reserved.