T
- the type of the results of the operands (and the result of the expression)public class BinaryOperationExpression<T> extends AbstractDeferredExpression<T> implements java.io.Serializable
Constructor and Description |
---|
BinaryOperationExpression(BinaryOperation<T> operation,
Expression<T> left,
Expression<T> right) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Node> |
getChildren()
Has to return the children of the node.
|
Expression<T> |
getLeft() |
BinaryOperation<T> |
getOperation() |
Expression<T> |
getRight() |
int |
hashCode() |
java.lang.String |
toString() |
get, isResolved
public BinaryOperationExpression(BinaryOperation<T> operation, Expression<T> left, Expression<T> right)
public BinaryOperation<T> getOperation()
public Expression<T> getLeft()
public Expression<T> getRight()
public java.util.List<Node> getChildren()
Node
null
getChildren
in interface Node
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object