public class NegativeOpt extends AbstractOpt
| 构造器和说明 |
|---|
NegativeOpt() |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
calculate()
计算
|
int |
fetchPriority()
优先级
|
String |
fetchSelf()
操作符对象自身的符号
|
static boolean |
isNegetive(Object prev) |
void |
wrap(Queue<Object> operand)
打包数据.
|
calculateItem, equals, toStringpublic int fetchPriority()
Operatorpublic void wrap(Queue<Object> operand)
Operatoroperand - 操作数public String fetchSelf()
AbstractOptfetchSelf 在类中 AbstractOptpublic static boolean isNegetive(Object prev)
Copyright © 2017. All rights reserved.