public class DefaultSimEventFactory extends Object implements SimEventFactory<SimEvent>
SimEventFactory for SimEvents
The factory generates DefaultSimEvents.
Last javadoc Review: Jan de Jongh, TNO, 20180404, r5.1.0.
| Constructor and Description |
|---|
DefaultSimEventFactory() |
| Modifier and Type | Method and Description |
|---|---|
SimEvent |
newInstance(String name,
double time,
SimEventAction eventAction)
Returns a new
DefaultSimEvent. |
public SimEvent newInstance(String name, double time, SimEventAction eventAction)
DefaultSimEvent.newInstance in interface SimEventFactory<SimEvent>name - The name of the event.time - The time at which the event is to be scheduled on a SimEventList.eventAction - The associated event action (may be null).DefaultSimEvent.Copyright © 2018. All rights reserved.