public class TentativeStep extends java.lang.Object implements Steppable, Stoppable
Example usage:
double scheduleTime = ... Steppable mySteppable = ... TentativeStep tent = new TentativeStep(mySteppable); state.schedule.scheduleOnce(scheduleTime,tent);
Now, to stop mySteppable from being called before scheduleTime has come, you'd say:
tent.stop();
Constructor and Description |
---|
TentativeStep(Steppable step) |
Modifier and Type | Method and Description |
---|---|
void |
step(SimState state) |
void |
stop() |