org.springframework.expression.spel.ast
Class OpModulus

java.lang.Object
  extended by org.springframework.expression.spel.ast.SpelNodeImpl
      extended by org.springframework.expression.spel.ast.Operator
          extended by org.springframework.expression.spel.ast.OpModulus
All Implemented Interfaces:
SpelNode

public class OpModulus
extends Operator

Implements the modulus operator.

Since:
3.0
Author:
Andy Clement

Field Summary
 
Fields inherited from class org.springframework.expression.spel.ast.SpelNodeImpl
children, pos
 
Constructor Summary
OpModulus(int pos, SpelNodeImpl... operands)
           
 
Method Summary
 TypedValue getValueInternal(ExpressionState state)
           
 
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

OpModulus

public OpModulus(int pos,
                 SpelNodeImpl... operands)
Method Detail

getValueInternal

public TypedValue getValueInternal(ExpressionState state)
                            throws EvaluationException
Specified by:
getValueInternal in class SpelNodeImpl
Throws:
EvaluationException