public class BinaryExpression extends Expression
type| Constructor and Description |
|---|
BinaryExpression(Expression left,
Expression right,
Operation op)
Constructor that creates a binary expression.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Evaluator |
getEvaluator()
Gets a new instance of an evaluator for this expression.
|
int |
hashCode() |
String |
toString() |
public BinaryExpression(Expression left, Expression right, Operation op)
left - The non-null left operand.right - The non-null right operand.op - The non-null binary operation.public Evaluator getEvaluator()
ExpressiongetEvaluator in class Expressionpublic boolean equals(Object obj)
equals in class Expressionpublic int hashCode()
hashCode in class Expressionpublic String toString()
toString in class ExpressionCopyright © 2021. All rights reserved.