Package org.baseagent.schedule
Class ConditionalEvent
java.lang.Object
org.baseagent.schedule.ScheduledEvent
org.baseagent.schedule.ConditionalEvent
-
Constructor Summary
ConstructorDescriptionConditionalEvent
(Predicate<Simulation> condition, Consumer<Simulation> thingToDo) -
Method Summary
Methods inherited from class org.baseagent.schedule.ScheduledEvent
execute
-
Constructor Details
-
ConditionalEvent
-
-
Method Details
-
isApplicable
- Specified by:
isApplicable
in classScheduledEvent
-
removeWhenDone
public boolean removeWhenDone()- Specified by:
removeWhenDone
in classScheduledEvent
-