Class AfterTime
-
-
Method Summary
Modifier and Type Method Description final Time
getEndTime()
Boolean
test(Environment<T, P> environment)
Tries to access the simulation time from the environment. -
-
Constructor Detail
-
AfterTime
AfterTime(Time endTime)
- Parameters:
endTime
- the end time.
-
-
Method Detail
-
getEndTime
final Time getEndTime()
-
test
Boolean test(Environment<T, P> environment)
Tries to access the simulation time from the environment. If the simulation is unaccessible, throws an exception. Otherwise, reads the current time, and flips to true once it got past the provided endTime.
-
-
-
-