public class OpPlus extends Operator
BigDecimal
BigDecimal/double/long/int).
The standard promotions are performed when the operand types vary (double+int=double).
For other options it defers to the registered overloader.children, pos| Constructor and Description |
|---|
OpPlus(int pos,
SpelNodeImpl... operands) |
| Modifier and Type | Method and Description |
|---|---|
SpelNodeImpl |
getRightOperand() |
TypedValue |
getValueInternal(ExpressionState state) |
java.lang.String |
toStringAST()
String format for all operators is the same '(' [operand] [operator] [operand] ')'
|
equalityCheck, getLeftOperand, getOperatorNamegetChild, getChildCount, getEndPosition, getObjectClass, getPreviousChild, getStartPosition, getTypedValue, getValue, getValue, getValueRef, isWritable, nextChildIs, setValuepublic OpPlus(int pos,
SpelNodeImpl... operands)
public TypedValue getValueInternal(ExpressionState state) throws EvaluationException
getValueInternal in class SpelNodeImplEvaluationExceptionpublic java.lang.String toStringAST()
OperatortoStringAST in interface SpelNodetoStringAST in class Operatorpublic SpelNodeImpl getRightOperand()
getRightOperand in class Operator