panda.el.EL Maven / Gradle / Ivy
package panda.el;
import java.util.Map;
import java.util.Queue;
import java.util.WeakHashMap;
import panda.el.arithmetic.RPN;
import panda.el.arithmetic.ShuntingYard;
public class EL {
private static Map cache = new WeakHashMap();
private RPN rpn;
private CharSequence expr;
/**
* EL expression constructor
*
* @param cs the EL expression
*/
public EL(CharSequence cs) {
try {
expr = cs;
ShuntingYard sy = new ShuntingYard();
Queue