panda.el.arithmetic.RPN Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of panda-core Show documentation
Show all versions of panda-core Show documentation
Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.
package panda.el.arithmetic;
import java.util.LinkedList;
import java.util.Queue;
import panda.el.ELContext;
import panda.el.Operator;
import panda.el.obj.ELObj;
/**
* 逆波兰表示法(Reverse Polish
* notation,RPN,或逆波兰记法),是一种是由波兰数学家扬·武卡谢维奇1920年引入的数学表达式方式,在逆波兰记法中,所有操作符置于操作数的后面,因此也被称为后缀表示法。
* 参考:逆波兰表达式
*/
public class RPN {
// 预编译后的对象
private LinkedList