All Downloads are FREE. Search and download functionalities are using the official Maven repository.

panda.el.opt.RBracketOpt Maven / Gradle / Ivy

Go to download

Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.

There is a newer version: 1.8.0
Show newest version
package panda.el.opt;

import java.util.Queue;

import panda.el.ELContext;
import panda.el.ELException;

/**
 * 右括号')'
 */
public class RBracketOpt extends AbstractOpt {
	public static final RBracketOpt INSTANCE = new RBracketOpt();
	
	private RBracketOpt() {
	}

	public int getPriority() {
		return 100;
	}

	public String operator() {
		return ")";
	}

	public void wrap(Queue obj) {
		throw new ELException("wrap() is unsupported by ')'");
	}

	public Object calculate(ELContext ec) {
		throw new ELException("calculate() is unsupported by ')'");
	}

}