@Service(value="multiplier") public class Treble extends Object implements Multiplier
Constructor and Description |
---|
Treble() |
Modifier and Type | Method and Description |
---|---|
int |
multiply(int originalNumber)
Multiplies the given number by a pre-defined constant.
|
public int multiply(int originalNumber)
Multiplier
multiply
in interface Multiplier
originalNumber
- The number to be multipliedApache Camel