org.nutz.el.Operator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nutz Show documentation
Show all versions of nutz Show documentation
Nutz, which is a collections of lightweight frameworks, each of them can be used independently
package org.nutz.el;
import java.util.Queue;
/**
* 操作符
* @author juqkai([email protected])
*
*/
public interface Operator {
/**
* 优先级
*/
public int fetchPriority();
/**
* 打包数据.
* 每个操作符都有相应的操作数,这个方法目的在于,根据操作符自身的需求,从operand中读取相应的操作数
* @param operand 操作数
*/
public void wrap(Queue