Package org.nutz.el.opt.arithmetic

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

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 LBracketOpt extends AbstractOpt{
  public String fetchSelf() {
    return "(";
  }
  public int fetchPriority() {
    return 100;
  }
 
  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.LBracketOpt

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.