public interface ICalculatorService
Modifier and Type | Method and Description |
---|---|
jadex.commons.future.IFuture<java.lang.Integer> |
addValues(int a,
int b)
Add two values.
|
jadex.commons.future.IFuture<java.lang.Integer> |
addValues(int a,
int b,
int c)
Add three values.
|
jadex.commons.future.IFuture<java.lang.Void> |
broken(int a)
Method produces an exception.
|
jadex.commons.future.IFuture<java.lang.Integer> |
subtractValues(int a,
int b)
Subtract b from a.
|
jadex.commons.future.IFuture<java.lang.Integer> addValues(int a, int b)
jadex.commons.future.IFuture<java.lang.Integer> addValues(int a, int b, int c)
jadex.commons.future.IFuture<java.lang.Integer> subtractValues(int a, int b)
a
- The first value.b
- The value to subtract from the first.jadex.commons.future.IFuture<java.lang.Void> broken(int a)