Package org.nutz.el.opt.arithmetic

Source Code of org.nutz.el.opt.arithmetic.RBracketOpt

package org.nutz.el.opt.arithmetic;

import java.util.Queue;

import org.nutz.el.ElException;
import org.nutz.el.opt.AbstractOpt;

/**
* 右括号')'
* @author juqkai(juqkai@gmail.com)
*
*/
public class RBracketOpt extends AbstractOpt{

    public int fetchPriority() {
        return 100;
    }
    public String fetchSelf() {
        return ")";
    }
    public void wrap(Queue<Object> obj) {
        throw new ElException("')符号不能进行wrap操作!'");
    }
    public Object calculate() {
        throw new ElException("')'符号不能进行计算操作!");
    }

}
TOP

Related Classes of org.nutz.el.opt.arithmetic.RBracketOpt

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.