Operations must have an associated enum type that represents their possible outcomes. An example of such an enum type would be:
enum PlaneFlight {
LAND, CRASH;
}
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| begin | back to summary |
|---|---|
| public void begin() Called immediately prior to the operation beginning. | |
| end | back to summary |
|---|---|
| public void end(T result) Called immediately after the operation completes with no interesting parameters, and with the same thread the called {
| |