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, getRight
calculateItem, equals
public void setSize(int size)
public int getSize()
public int fetchPriority()
Operator
public void wrap(Queue<Object> rpn)
Operator
wrap
in interface Operator
wrap
in class TwoTernary
rpn
- 操作数public String fetchSelf()
AbstractOpt
fetchSelf
in class AbstractOpt
public String toString()
toString
in class AbstractOpt
Copyright © 2017. All rights reserved.