panda.el.opt.object.MethodOpt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of panda-core Show documentation
Show all versions of panda-core Show documentation
Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.
package panda.el.opt.object;
import java.util.ArrayList;
import java.util.List;
import java.util.Queue;
import panda.el.ELContext;
import panda.el.ELException;
import panda.el.Operator;
import panda.el.obj.ELObj;
import panda.el.opt.RunMethod;
import panda.el.opt.AbstractTwoOpt;
/**
* 方法体封装. 主要是把方法的左括号做为边界
*/
public class MethodOpt extends AbstractTwoOpt {
private int size = 0;
public void setSize(int size) {
this.size = size;
}
public int getSize() {
return size;
}
public int getPriority() {
return 1;
}
public void wrap(Queue