org.intranet.elevator.model
Class MovableLocation.ArrivalEvent

java.lang.Object
  extended byorg.intranet.sim.event.Event
      extended byorg.intranet.sim.event.IncrementalUpdateEvent
          extended byorg.intranet.sim.event.TrackingUpdateEvent
              extended byorg.intranet.elevator.model.MovableLocation.ArrivalEvent
Enclosing class:
MovableLocation

private class MovableLocation.ArrivalEvent
extends TrackingUpdateEvent


Nested Class Summary
 
Nested classes inherited from class org.intranet.sim.event.Event
Event.EventTimeComparator
 
Field Summary
 
Fields inherited from class org.intranet.sim.event.TrackingUpdateEvent
 
Fields inherited from class org.intranet.sim.event.Event
 
Constructor Summary
MovableLocation.ArrivalEvent(float departureHeight, long departureTime, long arrivalTime)
           
 
Method Summary
 void perform()
           
 void updateTime()
           
 
Methods inherited from class org.intranet.sim.event.TrackingUpdateEvent
currentValue
 
Methods inherited from class org.intranet.sim.event.Event
getId, getTime, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MovableLocation.ArrivalEvent

public MovableLocation.ArrivalEvent(float departureHeight,
                                    long departureTime,
                                    long arrivalTime)
Method Detail

perform

public void perform()
Specified by:
perform in class Event

updateTime

public void updateTime()
Specified by:
updateTime in class IncrementalUpdateEvent