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