|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type of the argument of the computationpublic interface Executable<T>
Executables are computations that take one argument and whose result
is a side effect, instead of a return value.
Executable has the same semantics that an Applicable of
Void return type, but is provided for ease of coding. Concrete
implementors should implement Applicable as well.
Recomendations for implementing| Method Summary | |
|---|---|
void |
exec(T argument)
Performs a side-effect computation. |
| Method Detail |
|---|
void exec(T argument)
argument - the argument of the computation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||