|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rit.pj.reduction.Op
edu.rit.pj.reduction.CharacterOp
public abstract class CharacterOp
Class CharacterOp is the abstract base class for a binary operation on character values, used to do reduction in a parallel program.
| Field Summary | |
|---|---|
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. |
| Constructor Summary | |
|---|---|
protected |
CharacterOp()
Construct a new character binary operation. |
| Method Summary | |
|---|---|
abstract char |
op(char x,
char y)
Perform this binary operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final CharacterOp MINIMUM
public static final CharacterOp MAXIMUM
public static final CharacterOp AND
public static final CharacterOp OR
public static final CharacterOp XOR
| Constructor Detail |
|---|
protected CharacterOp()
| Method Detail |
|---|
public abstract char op(char x,
char y)
x - First argument.y - Second argument.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||