Interface ISimRunnable<E extends IEntity>

  • All Known Implementing Classes:
    AbstractSimEventDelegator
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ISimRunnable<E extends IEntity>
    • Method Detail

      • eventRoutine

        void eventRoutine​(E who)
        Executes the simulation logic associated with this event.

        Notice, that this method is not intended to be called by clients. Instead, the event scheduler of the respective simulation library invokes this method as soon as the simulation is reached at which the event has been scheduled.

        Parameters:
        who - the entity associated with this event