public class TestComplexBinaryOperation extends java.lang.Object implements ComplexBinaryOperation
Constructor and Description |
---|
TestComplexBinaryOperation() |
Modifier and Type | Method and Description |
---|---|
Complex |
operate(Complex leftOperand,
Complex rightOperand)
Operate on the operands, returning a value of the same
type.
|
public Complex operate(Complex leftOperand, Complex rightOperand)
operate
in interface ComplexBinaryOperation
leftOperand
- The left operand.rightOperand
- The right operand.