public class NegativeOpt extends AbstractOpt
| Constructor and Description |
|---|
NegativeOpt() |
| Modifier and Type | Method and Description |
|---|---|
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 in class AbstractOptpublic static boolean isNegetive(Object prev)
Copyright © 2017. All rights reserved.