| 程序包 | 说明 |
|---|---|
| org.springframework.expression.spel.ast |
SpEL's abstract syntax tree.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
OpAnd
Represents the boolean AND operation.
|
class |
OpDec
Decrement operator.
|
class |
OpDivide
Implements division operator.
|
class |
OpEQ
Implements the equality operator.
|
class |
OperatorBetween
Represents the between operator.
|
class |
OperatorInstanceof
The operator 'instanceof' checks if an object is of the class specified in the right
hand operand, in the same way that
instanceof does in Java. |
class |
OperatorMatches
Implements the matches operator.
|
class |
OperatorPower
The power operator.
|
class |
OpGE
Implements greater-than-or-equal operator.
|
class |
OpGT
Implements the greater-than operator.
|
class |
OpInc
Increment operator.
|
class |
OpLE
Implements the less-than-or-equal operator.
|
class |
OpLT
Implements the less-than operator.
|
class |
OpMinus
The minus operator supports:
subtraction of numbers
subtraction of an int from a string of one character
(effectively decreasing that character), so 'd'-3='a'
It can be used as a unary operator for numbers.
|
class |
OpModulus
Implements the modulus operator.
|
class |
OpMultiply
Implements the
multiply operator. |
class |
OpNE
Implements the not-equal operator.
|
class |
OpOr
Represents the boolean OR operation.
|
class |
OpPlus
The plus operator will:
add numbers
concatenate strings
It can be used as a unary operator for numbers.
|