E - The Entitiy which can be handled by the stationpublic interface HasSuccessor<E extends Entity>
| Modifier and Type | Method and Description |
|---|---|
void |
setSuccessor(Event<? super E> eventToScheduleWhenFinished)
This method is used to set the successor event
|
void |
setSuccessor(HasPredecessor<? super E> successor)
This method is used to set the successor event
|
void setSuccessor(Event<? super E> eventToScheduleWhenFinished)
eventToScheduleWhenFinished - the event to be set as successor eventvoid setSuccessor(HasPredecessor<? super E> successor)
successor - the successor of the current station