|
jbarrier | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.bonn.cs.net.jbarrier.barrier.ReductionOperator
edu.bonn.cs.net.jbarrier.barrier.ReductionOperator.SumReduction
public static class ReductionOperator.SumReduction
Sum reduction operator.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class edu.bonn.cs.net.jbarrier.barrier.ReductionOperator |
---|
ReductionOperator.MaximumReduction, ReductionOperator.MinimumReduction, ReductionOperator.SumReduction |
Constructor Summary | |
---|---|
ReductionOperator.SumReduction()
|
Method Summary | |
---|---|
protected double |
operator(double value1,
double value2)
Sum operator on operands of type double . |
protected float |
operator(float value1,
float value2)
Sum operator on operands of type float . |
protected int |
operator(int value1,
int value2)
Sum operator on operands of type int . |
protected long |
operator(long value1,
long value2)
Sum operator on operands of type long . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReductionOperator.SumReduction()
Method Detail |
---|
protected int operator(int value1, int value2)
int
.
operator
in class ReductionOperator
value1
- the first operandvalue2
- the second operand
protected long operator(long value1, long value2)
long
.
operator
in class ReductionOperator
value1
- the first operandvalue2
- the second operand
protected float operator(float value1, float value2)
float
.
operator
in class ReductionOperator
value1
- the first operandvalue2
- the second operand
protected double operator(double value1, double value2)
double
.
operator
in class ReductionOperator
value1
- the first operandvalue2
- the second operand
|
jbarrier | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |