public class OpMultiply extends Operator
If any of the operands is of a reference type, unboxing conversion (ยค5.1.8) is performed. Then:
If either operand is of type double, the other is converted to double.
Otherwise, if either operand is of type float, the other is converted to float.
Otherwise, if either operand is of type long, the other is converted to long.
Otherwise, both operands are converted to type int.
children, pos| Constructor and Description |
|---|
OpMultiply(int pos,
SpelNodeImpl... operands) |
| Modifier and Type | Method and Description |
|---|---|
TypedValue |
getValueInternal(ExpressionState state)
Implements multiply directly here for some types of operand, otherwise delegates to any registered overloader for
types it does not recognize.
|
getLeftOperand, getOperatorName, getRightOperand, toStringASTgetChild, getChildCount, getEndPosition, getObjectClass, getPreviousChild, getStartPosition, getTypedValue, getValue, getValue, isWritable, nextChildIs, setValuepublic OpMultiply(int pos,
SpelNodeImpl... operands)
public TypedValue getValueInternal(ExpressionState state) throws EvaluationException
getValueInternal in class SpelNodeImplEvaluationExceptionCopyright © 2013. All Rights Reserved.