curNumberOfParameters, numberOfParameters| 构造器和说明 |
|---|
Comparative(int id_in) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
cmp(double x,
double y) |
protected List |
cmp(double x,
List y) |
protected List |
cmp(List x,
double y) |
protected List |
cmp(List x,
List y) |
protected List |
cmp(List x,
String y) |
protected Object |
cmp(Object param1,
Object param2) |
protected List |
cmp(String x,
List y) |
protected Object |
cmp(String x,
String y) |
void |
run(Stack stack)
Throws an exception because this method should never be called under
normal circumstances.
|
checkStack, getNumberOfParameters, setCurNumberOfParameterspublic void run(Stack stack) throws ParseException
Functionrun 在接口中 FunctionIrun 在类中 FunctionParseExceptionprotected Object cmp(Object param1, Object param2) throws ParseException
ParseExceptionprotected Object cmp(double x, double y) throws ParseException
ParseExceptionprotected Object cmp(String x, String y) throws ParseException
ParseExceptionprotected List cmp(List x, String y) throws ParseException
ParseExceptionprotected List cmp(String x, List y) throws ParseException
ParseExceptionprotected List cmp(List x, double y) throws ParseException
ParseExceptionprotected List cmp(double x, List y) throws ParseException
ParseExceptionprotected List cmp(List x, List y) throws ParseException
ParseExceptionCopyright © 2023 onecode. All rights reserved.