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 int operate(int operand)
operate
in interface IntegerUnaryOperation
operand
- The operand.