This interface allows for wrapping a calculation into a class so that it maybe passed around an application.
See also FailableFunction<I, O, InterruptedException>.
FailableFunction
| Modifier and Type | Method and Description |
|---|---|
| public O | Returns: the result of the calculationthe argument for the calculation arg)This method carries out the given operation with the provided argument. |
| compute | back to summary |
|---|---|
| public O compute(I arg) throws InterruptedException This method carries out the given operation with the provided argument.
| |