first commit

This commit is contained in:
2025-07-28 13:56:49 +05:30
commit e9eb805edb
3438 changed files with 520990 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
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");
}
}