Files
HRMS/hrmsEjb/org/nfunk/jep/function/PostfixMathCommand.java
2025-07-28 13:56:49 +05:30

28 lines
738 B
Java

package org.nfunk.jep.function;
import java.util.Stack;
import org.nfunk.jep.ParseException;
public class PostfixMathCommand implements PostfixMathCommandI {
protected int numberOfParameters = 0;
protected int curNumberOfParameters = 0;
protected void checkStack(Stack paramStack) throws ParseException {
if (null == paramStack)
throw new ParseException("Stack argument null");
}
public int getNumberOfParameters() {
return this.numberOfParameters;
}
public void setCurNumberOfParameters(int paramInt) {
this.curNumberOfParameters = paramInt;
}
public void run(Stack paramStack) throws ParseException {
throw new ParseException("run() method of PostfixMathCommand called");
}
}