Files
tustu/app/obfuscated_packages/ui_components/FormulaValidator.java
johndoe6345789 85ea7521dc Add new action listeners and utility classes for UI components
- Implemented action listeners for various buttons and radio buttons to handle user interactions.
- Created listeners for analysis features including locking, unlocking, and toggling visibility.
- Added filtering logic for analysis fields and weight items.
- Introduced a utility class for handling weight items with proper string representation and equality checks.
- Enhanced event handling for X and Y axis selections in the analysis UI.
- Added a listener for opening a website link related to TunerStudio.
2026-01-11 04:32:12 +00:00

34 lines
931 B
Java

package ao;
import W.n;
import h.g;
import k.a;
import k.d;
public class N {
public static boolean a(String paramString) {
if (paramString.trim().equals(""))
throw new bC("Expression can not be empty");
n n = hx.a().r();
if (n != null && n.d() > 0) {
try {
String str;
for (str = paramString; str.indexOf("{") > 0; str = str.substring(0, str.indexOf("{")) + "1.0" + str.substring(str.indexOf("}", str.indexOf("{")) + 1));
str = g.a().c(str);
a a = d.a().a(str);
double d = (float)a.a(n, n.d() - 1);
} catch (Exception exception) {
throw new bC("Invalid Formula:" + paramString + "\nPlease check your syntax.");
}
} else {
throw new fr();
}
return true;
}
}
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/ao/N.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/