public class ExpressionUtil extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static Object |
calculate(String expression) |
protected static String |
calFunction(String function,
String value) |
protected static double |
calValue(String value1,
String opt,
String value2) |
protected static int |
getOptPriorityIn(String opt) |
protected static int |
getOptPriorityOut(String opt) |
protected static String |
getOPTS() |
protected static String |
getValue(String oldValue) |
protected static boolean |
isFunctionCal(String value) |
protected static boolean |
isOpt(String value) |
protected static boolean |
isValue(String cValue) |
protected static String getOPTS()
protected static boolean isValue(String cValue)
protected static boolean isOpt(String value)
protected static double calValue(String value1, String opt, String value2) throws Exception
Exceptionprotected static boolean isFunctionCal(String value)
Copyright © 2023. All rights reserved.