public static enum ExpressionFactory.BinaryOperator extends Enum<ExpressionFactory.BinaryOperator>
Enum Constant and Description |
---|
AND |
DIV |
EQ |
GE |
GT |
LE |
LT |
MINUS |
NE |
OR |
PLUS |
REM |
TIMES |
Modifier and Type | Method and Description |
---|---|
abstract Expression |
create(ExpressionFactory ef,
Expression left,
Expression right) |
String |
javaRepresentation() |
ExpressionFactory.BinaryOperatorKind |
kind() |
static ExpressionFactory.BinaryOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExpressionFactory.BinaryOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpressionFactory.BinaryOperator PLUS
public static final ExpressionFactory.BinaryOperator TIMES
public static final ExpressionFactory.BinaryOperator DIV
public static final ExpressionFactory.BinaryOperator MINUS
public static final ExpressionFactory.BinaryOperator REM
public static final ExpressionFactory.BinaryOperator GT
public static final ExpressionFactory.BinaryOperator GE
public static final ExpressionFactory.BinaryOperator LT
public static final ExpressionFactory.BinaryOperator LE
public static final ExpressionFactory.BinaryOperator EQ
public static final ExpressionFactory.BinaryOperator NE
public static final ExpressionFactory.BinaryOperator AND
public static final ExpressionFactory.BinaryOperator OR
public static ExpressionFactory.BinaryOperator[] values()
for (ExpressionFactory.BinaryOperator c : ExpressionFactory.BinaryOperator.values()) System.out.println(c);
public static ExpressionFactory.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 nullpublic String javaRepresentation()
public abstract Expression create(ExpressionFactory ef, Expression left, Expression right)
public ExpressionFactory.BinaryOperatorKind kind()
Copyright © 2017 Oracle. All rights reserved.