Class Expressions
- java.lang.Object
-
- io.leangen.graphql.execution.complexity.Expressions
-
public class Expressions extends Object
Evaluates arithmetic expressions using Dijkstra's two-stack algorithm. Handles the following binary operators: +, -, *, / and parentheses. Source: EvaluateDeluxe Note: Operators must be left associative (exponentiation is right associative)
-
-
Constructor Summary
Constructors Constructor Description Expressions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Doubleeval(String expression, Map<String,Object> variables)
-