public class OpMinus 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 |
---|
OpMinus(int pos,
SpelNodeImpl... operands) |
Modifier and Type | Method and Description |
---|---|
SpelNodeImpl |
getRightOperand() |
TypedValue |
getValueInternal(ExpressionState state) |
String |
toStringAST()
String format for all operators is the same '(' [operand] [operator] [operand] ')'
|
equalityCheck, getLeftOperand, getOperatorName
getChild, getChildCount, getEndPosition, getObjectClass, getPreviousChild, getStartPosition, getTypedValue, getValue, getValue, getValueRef, isWritable, nextChildIs, setValue
public OpMinus(int pos, SpelNodeImpl... operands)
public TypedValue getValueInternal(ExpressionState state) throws EvaluationException
getValueInternal
in class SpelNodeImpl
EvaluationException
public String toStringAST()
Operator
toStringAST
in interface SpelNode
toStringAST
in class Operator
public SpelNodeImpl getRightOperand()
getRightOperand
in class Operator