|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface A
Interface for testing purposes.
| Method Summary | |
|---|---|
int |
add(int a,
int b)
Adds the two numbers. |
String |
concat(String a,
String b)
Concatenates the two Strings. |
int |
div(int a,
int b)
Divides the two integers. |
void |
setAdder(Adder adder)
Sets the adder to delegate calls to. |
void |
setRetries(int retries)
Sets the number of retries. |
int |
sub(int a,
int b)
Subtracts the given two numbers. |
void |
throwException()
Throws an application level exception. |
void |
throwRTException()
Throws a runtime exception. |
| Method Detail |
|---|
void setRetries(int retries)
retries - Number of retries.void setAdder(Adder adder)
adder - The adder to set.
int div(int a,
int b)
a - Dividend.b - Divisor.
void throwException()
throws ApplicationException
ApplicationException - The sample exception.void throwRTException()
String concat(String a,
String b)
a - the first string.b - the second string.
int add(int a,
int b)
add in interface Addera - The first number.b - The second number.
int sub(int a,
int b)
a - The first number.b - The second number.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||