public enum BinaryOperator extends Enum<BinaryOperator> implements Formula
| Enum Constant and Description |
|---|
EQUALS |
GREATER_THAN |
GREATER_THAN_OR_EQUAL |
LESS_THAN |
LESS_THAN_OR_EQUAL |
NOT_EQUAL |
| Modifier and Type | Method and Description |
|---|---|
BinaryRelationalExpression |
asBinaryRelationalExpression() |
PrimaryExpression |
asPrimaryExpression() |
void |
dispatch(FormulaVisitor visitor) |
String |
getText() |
void |
print(PrettyPrintWriter out) |
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 EQUALS
public static final BinaryOperator NOT_EQUAL
public static final BinaryOperator LESS_THAN
public static final BinaryOperator GREATER_THAN
public static final BinaryOperator LESS_THAN_OR_EQUAL
public static final BinaryOperator GREATER_THAN_OR_EQUAL
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 nullpublic String getText()
public void print(PrettyPrintWriter out)
public void dispatch(FormulaVisitor visitor)
public PrimaryExpression asPrimaryExpression()
asPrimaryExpression in interface Formulapublic BinaryRelationalExpression asBinaryRelationalExpression()
asBinaryRelationalExpression in interface FormulaCopyright © 2019. All rights reserved.