01: package example;
02:
03: public interface MathService {
04: /**
05: * Adds two integers.
06: */
07: public int add(int a, int b);
08:
09: /**
10: * Subtract two integers.
11: */
12: public int sub(int a, int b);
13:
14: /**
15: * Multiply two integers.
16: */
17: public int mul(int a, int b);
18:
19: /**
20: * Divide two integers.
21: */
22: public int div(int a, int b);
23: }
|