Class AbstractSimulationElement<E>

    • Constructor Detail

      • AbstractSimulationElement

        public AbstractSimulationElement​(E element)
        Default constructor.
        Parameters:
        element - the source element.
    • Method Detail

      • setOld

        public AbstractSimulationElement<E> setOld()
        Indicates the element as an old one
        Returns:
        the current instance of the element of the simulation.
      • isOld

        public boolean isOld()
        Description copied from interface: SimulationElement
        Indicates if the element is an old one. This information is useful in update or delete action.
        Specified by:
        isOld in interface SimulationElement<E>
        Returns:
        true if the element is an old one, false otherwise.