org.matheclipse.core.generic
Class IsBinaryTrue<E extends IExpr>
- java.lang.Object
-
- org.matheclipse.core.generic.IsBinaryTrue<E>
-
- All Implemented Interfaces:
- java.util.Comparator<E>, BiPredicate<E>
public class IsBinaryTrue<E extends IExpr> extends java.lang.Object implements BiPredicate<E>, java.util.Comparator<E>
Check if the evaluation of a binary AST object givesTrue
-
-
Constructor Summary
Constructors Constructor and Description IsBinaryTrue(IExpr head)Define a binary AST with the headerhead.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanapply(IExpr firstArg, IExpr secondArg)Check if the evaluation of a binary AST object givesTrueby settings it's first argument tofirstArgand settings it's second argument tosecondArgintcompare(IExpr firstArg, IExpr secondArg)
-
-
-
Constructor Detail
-
IsBinaryTrue
public IsBinaryTrue(IExpr head)
Define a binary AST with the headerhead.- Parameters:
head- the AST's head expresion
-
-
Method Detail
-
apply
public boolean apply(IExpr firstArg, IExpr secondArg)
Check if the evaluation of a binary AST object givesTrueby settings it's first argument tofirstArgand settings it's second argument tosecondArg- Specified by:
applyin interfaceBiPredicate<E extends IExpr>- Returns:
- the value of this Predicate when applied to input
t1andt2.
-
-
DMelt 3.0 © DataMelt by jWork.ORG