java.lang.Object
io.jenetics.ext.internal.util.FormulaParser.Builder.Bops<T>
- Type Parameters:
T- the token type
- Enclosing class:
- FormulaParser.Builder<T>
Builder class for building binary operators with its precedence.
-
Method Summary
Modifier and TypeMethodDescriptionAdd a new operator predicate with its precedence.final FormulaParser.Builder.Bops<T>Add a new operator tokens with its precedence.
-
Method Details
-
add
Add a new operator predicate with its precedence.- Parameters:
precedence- the precedence of the operatorsoperators- the operators predicate- Returns:
thisbuilder, for method chaining
-
add
Add a new operator tokens with its precedence.- Parameters:
precedence- the precedence of the operatorsoperators- the operators- Returns:
thisbuilder, for method chaining
-