Package io.atlasmap.expression.internal
Class BinaryExpression
java.lang.Object
io.atlasmap.expression.internal.BinaryExpression
- All Implemented Interfaces:
Expression
- Direct Known Subclasses:
ArithmeticExpression,ComparisonExpression,LogicExpression
An expression which performs an operation on two expression values.
- Version:
- $Revision: 1.2 $
-
Field Summary
FieldsFields inherited from interface io.atlasmap.expression.Expression
CACHE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract StringReturns the symbol that represents this binary expression.getLeft()getRight()inthashCode()TODO: more efficient hashCode()voidsetLeft(Expression expression) voidsetRight(Expression expression) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.atlasmap.expression.Expression
evaluate
-
Field Details
-
left
-
right
-
-
Constructor Details
-
BinaryExpression
-
-
Method Details
-
getLeft
-
getRight
-
toString
-
hashCode
public int hashCode()TODO: more efficient hashCode() -
equals
-
getExpressionSymbol
Returns the symbol that represents this binary expression. For example, addition is represented by "+"- Returns:
- expression symbol string
-
setRight
- Parameters:
expression- rightExpression
-
setLeft
- Parameters:
expression- leftExpression
-