Documentation of 'edu.rit.pj.reduction.BooleanOp' Java class
BooleanOp
edu.rit.pj.reduction

Class BooleanOp



  • public abstract class BooleanOp
    extends Op
    Class BooleanOp is the abstract base class for a binary operation on Boolean values, used to do reduction in a parallel program.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static BooleanOp AND
      The Boolean logical "and" binary operation.
      static BooleanOp OR
      The Boolean logical "or" binary operation.
      static BooleanOp XOR
      The Boolean logical "exclusive or" binary operation.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      abstract boolean op(boolean x, boolean y)
      Perform this binary operation.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • AND

        public static final BooleanOp AND
        The Boolean logical "and" binary operation.
      • OR

        public static final BooleanOp OR
        The Boolean logical "or" binary operation.
      • XOR

        public static final BooleanOp XOR
        The Boolean logical "exclusive or" binary operation.
    • Method Detail

      • op

        public abstract boolean op(boolean x,
                                   boolean y)
        Perform this binary operation.
        Parameters:
        x - First argument.
        y - Second argument.
        Returns:
        (x op y), where op stands for this binary operation.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.