|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packageorg.springframework.expression.spel.ast
as colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.
Implements the {@code multiply} operator.Class OpMultiply, TypedValue getValueInternal(ExpressionState)Conversions and promotions
:http://java.sun.com/docs/books/jls/third_edition/html/conversions.htmlare handled as defined in Section 5.6.22 of the Java Language Specification:If any of the operands is of a reference type, unboxing conversion (
#Section 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.@author Andy Clement @author Sam Brannen @since 3.0
Implements the {@code multiply} operator directly here forsome typescertain types ofoperand,supported operands and otherwise delegates to any registeredoverloader foroverloader for typesit doesnotrecognizesupported here.SupportedtypesSupported
here areoperand types:
integersdoublesdoubleslongs- integers
- string and int ('abc' * 2 == 'abcabc')
The plus operator will:It can be used as a unary operator for numbers (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.
- add doubles (floats are represented as doubles)
- add longs
- add integers
- concatenate strings
@author Andy Clement @author Ivo Smid @since 3.0
Represents a reference to a type, for example "T(String)" or "T(com.somewhere.Foo)"@author Andy Clement