Documentation of 'org.matheclipse.core.generic.IsBinaryTrue' Java class
IsBinaryTrue
org.matheclipse.core.generic

Class IsBinaryTrue<E extends IExpr>

  • 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 gives True
    • Constructor Summary

      Constructors 
      Constructor and Description
      IsBinaryTrue(IExpr head)
      Define a binary AST with the header head.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean apply(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
      int compare(IExpr firstArg, IExpr secondArg) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • IsBinaryTrue

        public IsBinaryTrue(IExpr head)
        Define a binary AST with the header head.
        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 gives True by settings it's first argument to firstArg and settings it's second argument to secondArg
        Specified by:
        apply in interface BiPredicate<E extends IExpr>
        Returns:
        the value of this Predicate when applied to input t1 and t2.
      • compare

        public int compare(IExpr firstArg,
                           IExpr secondArg)
        Specified by:
        compare in interface java.util.Comparator<E extends IExpr>

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.