|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlogist.plan.Action
logist.plan.Action.Pickup
public static final class Action.Pickup
A pickup of a task
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class logist.plan.Action |
|---|
Action.Delivery, Action.Move, Action.Pickup |
| Constructor Summary | |
|---|---|
Action.Pickup(Task task)
Creates a pickup action |
|
| Method Summary | ||
|---|---|---|
|
accept(ActionHandler<T> handler)
Performs a pattern matching on the type of task. |
|
java.lang.String |
toLongString()
Shows tasks with full details rather than just the id. |
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Action.Pickup(Task task)
task - The task to pickup| Method Detail |
|---|
public <T> T accept(ActionHandler<T> handler)
Action
accept in class ActionT - the type of the value produced by the handlerhandler - the handler for each pattern
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toLongString()
Action
toLongString in class Action
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||