public static class Predicates.IsBinaryTrue extends java.lang.Object implements java.util.function.BiPredicate<IExpr,IExpr>, java.util.Comparator<IExpr>
True
Modifier and Type | Field and Description |
---|---|
protected IAST |
fAST |
protected EvalEngine |
fEngine |
Constructor and Description |
---|
IsBinaryTrue(IExpr head)
Define a binary AST with the header
head . |
IsBinaryTrue(IExpr head,
EvalEngine engine) |
Modifier and Type | Method and Description |
---|---|
int |
compare(IExpr firstArg,
IExpr secondArg) |
boolean |
test(IExpr firstArg,
IExpr secondArg)
Check if the evaluation of a binary AST object gives
True by settings it's first argument to
firstArg and settings it's second argument to
secondArg |
protected final EvalEngine fEngine
protected final IAST fAST
public IsBinaryTrue(IExpr head)
head
.head
- the AST's head expressionpublic IsBinaryTrue(IExpr head, EvalEngine engine)