|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The type of the computation of the handlerpublic interface ActionHandler<T>
Computes a result after a pattern matching on actions.
| Method Summary | |
|---|---|
T |
deliver(Task task)
A delivery pattern |
T |
moveTo(Topology.City city)
A move pattern |
T |
pickup(Task task)
A pickup pattern |
| Method Detail |
|---|
T moveTo(Topology.City city)
city - The target cityT pickup(Task task)
task - The task being picked upT deliver(Task task)
task - The task being delivered
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||