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

Class CharacterOp



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

      Fields 
      Modifier and Type Field and Description
      static CharacterOp AND
      The character bitwise "and" binary operation.
      static CharacterOp MAXIMUM
      The character maximum binary operation.
      static CharacterOp MINIMUM
      The character minimum binary operation.
      static CharacterOp OR
      The character bitwise "or" binary operation.
      static CharacterOp XOR
      The character bitwise "exclusive or" binary operation.
    • Method Summary

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

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

      • MINIMUM

        public static final CharacterOp MINIMUM
        The character minimum binary operation.
      • MAXIMUM

        public static final CharacterOp MAXIMUM
        The character maximum binary operation.
      • AND

        public static final CharacterOp AND
        The character bitwise "and" binary operation.
      • OR

        public static final CharacterOp OR
        The character bitwise "or" binary operation.
      • XOR

        public static final CharacterOp XOR
        The character bitwise "exclusive or" binary operation.
    • Method Detail

      • op

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