public class TestComplexUnaryOperation extends java.lang.Object implements ComplexUnaryOperation
Constructor and Description |
---|
TestComplexUnaryOperation() |
Modifier and Type | Method and Description |
---|---|
Complex |
operate(Complex operand)
Operate on the operand, returning a value of the same type.
|
public Complex operate(Complex operand)
operate
in interface ComplexUnaryOperation
operand
- The operand.