Package org.lsmp.djep.groupJep.function
Class GMod
java.lang.Object
org.nfunk.jep.function.PostfixMathCommand
org.lsmp.djep.groupJep.function.GMod
- All Implemented Interfaces:
PostfixMathCommandI
Modulus operator for group.
- Author:
- Rich Morris Created on 05-Mar-2004
-
Field Summary
Fields inherited from class org.nfunk.jep.function.PostfixMathCommand
curNumberOfParameters, numberOfParameters
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.nfunk.jep.function.PostfixMathCommand
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameters
-
Constructor Details
-
GMod
-
-
Method Details
-
run
Calculates the result of applying the "+" operator to the arguments from the stack and pushes it back on the stack.- Specified by:
run
in interfacePostfixMathCommandI
- Overrides:
run
in classPostfixMathCommand
- Throws:
ParseException
-
mod
- Throws:
ParseException
-