|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.expression.spel.ast.SpelNodeImpl org.springframework.expression.spel.ast.Operator org.springframework.expression.spel.ast.OperatorBetween
public class OperatorBetween
Represents the between operator. The left operand to between must be a single value and the right operand must be a list - this operator returns true if the left operand is between (using the registered comparator) the two elements in the list. The definition of between being inclusive follows the SQL BETWEEN definition.
Field Summary |
---|
Fields inherited from class org.springframework.expression.spel.ast.Operator |
---|
operatorName |
Fields inherited from class org.springframework.expression.spel.ast.SpelNodeImpl |
---|
children, pos |
Constructor Summary | |
---|---|
OperatorBetween(int pos,
SpelNodeImpl... operands)
|
Method Summary | |
---|---|
BooleanTypedValue |
getValueInternal(ExpressionState state)
Returns a boolean based on whether a value is in the range expressed. |
Methods inherited from class org.springframework.expression.spel.ast.Operator |
---|
getLeftOperand, getOperatorName, getRightOperand, toStringAST |
Methods inherited from class org.springframework.expression.spel.ast.SpelNodeImpl |
---|
getChild, getChildCount, getEndPosition, getObjectClass, getPreviousChild, getStartPosition, getTypedValue, getValue, getValue, isWritable, nextChildIs, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OperatorBetween(int pos, SpelNodeImpl... operands)
Method Detail |
---|
public BooleanTypedValue getValueInternal(ExpressionState state) throws EvaluationException
getValueInternal
in class SpelNodeImpl
state
- the expression state
EvaluationException
- if there is a problem evaluating the expression
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |