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()
Expression
getEvaluator
in class Expression
public boolean equals(Object obj)
equals
in class Expression
public int hashCode()
hashCode
in class Expression
public String toString()
toString
in class Expression
Copyright © 2021. All rights reserved.