| Package | Description |
|---|---|
| org.javades.jsimulation.r5 |
A small package for discrete-event simulation.
|
| Modifier and Type | Method and Description |
|---|---|
SimEventAction |
SimEvent.getEventAction()
Returns the
SimEventAction associated with this event. |
SimEventAction |
DefaultSimEvent.getEventAction() |
| Modifier and Type | Method and Description |
|---|---|
E |
SimEventFactory.newInstance(String name,
double time,
SimEventAction eventAction)
Creates a new
SimEvent instance. |
SimEvent |
DefaultSimEventFactory.newInstance(String name,
double time,
SimEventAction eventAction)
Returns a new
DefaultSimEvent. |
default E |
SimEventList.schedule(double time,
SimEventAction action)
Schedules an action at given time.
|
default E |
SimEventList.schedule(double time,
SimEventAction action,
String name)
Schedules an action at given time.
|
default E |
SimEventList.scheduleNow(SimEventAction action)
Schedules an action now.
|
default E |
SimEventList.scheduleNow(SimEventAction action,
String name)
Schedules an action now.
|
void |
SimEvent.setEventAction(SimEventAction eventAction)
Sets the
SimEventAction associated with this event. |
void |
DefaultSimEvent.setEventAction(SimEventAction eventAction) |
| Constructor and Description |
|---|
DefaultSimEvent(double time,
SimEventAction eventAction)
Creates a new
DefaultSimEvent named \"No Name\", given time and action and null object. |
DefaultSimEvent(double time,
T object,
SimEventAction eventAction)
Creates a new
DefaultSimEvent with given parameters and name \"No Name\" (main constructor). |
DefaultSimEvent(String name,
double time,
T object,
SimEventAction eventAction)
Creates a new
DefaultSimEvent with given parameters. |
Copyright © 2018. All rights reserved.