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

Class ByteOp



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

      Fields 
      Modifier and Type Field and Description
      static ByteOp AND
      The byte bitwise "and" binary operation.
      static ByteOp MAXIMUM
      The byte maximum binary operation.
      static ByteOp MINIMUM
      The byte minimum binary operation.
      static ByteOp OR
      The byte bitwise "or" binary operation.
      static ByteOp PRODUCT
      The byte product binary operation.
      static ByteOp SUM
      The byte sum binary operation.
      static ByteOp XOR
      The byte bitwise "exclusive or" binary operation.
    • Method Summary

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

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

      • SUM

        public static final ByteOp SUM
        The byte sum binary operation.
      • PRODUCT

        public static final ByteOp PRODUCT
        The byte product binary operation.
      • MINIMUM

        public static final ByteOp MINIMUM
        The byte minimum binary operation.
      • MAXIMUM

        public static final ByteOp MAXIMUM
        The byte maximum binary operation.
      • AND

        public static final ByteOp AND
        The byte bitwise "and" binary operation.
      • OR

        public static final ByteOp OR
        The byte bitwise "or" binary operation.
      • XOR

        public static final ByteOp XOR
        The byte bitwise "exclusive or" binary operation.
    • Method Detail

      • op

        public abstract byte op(byte x,
                                byte 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.