public class MethodOpt extends TwoTernary
left, right| Constructor and Description |
|---|
MethodOpt() |
| Modifier and Type | Method and Description |
|---|---|
Object |
calculate()
计算
|
int |
fetchPriority()
优先级
|
String |
fetchSelf()
操作符对象自身的符号
|
int |
getSize() |
void |
setSize(int size) |
String |
toString() |
void |
wrap(Queue<Object> rpn)
打包数据.
|
getLeft, getRightcalculateItem, equalspublic void setSize(int size)
public int getSize()
public int fetchPriority()
Operatorpublic void wrap(Queue<Object> rpn)
Operatorwrap in interface Operatorwrap in class TwoTernaryrpn - 操作数public String fetchSelf()
AbstractOptfetchSelf in class AbstractOptpublic String toString()
toString in class AbstractOptCopyright © 2017. All rights reserved.