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