Class SimEvent

java.lang.Object
   |
   +----SimEvent

public class SimEvent
extends Object
This class represents an event that can be processed by the Simulator. Subclasses to this class include more event specific information


Constructor Index

 o SimEvent(Object, EventDestination, float)

Method Index

 o equals(Object)
Override this method to provide the type of equality you want the simulator to search for when using the removeEvent method
 o getFrom()
 o getTime()
 o getTo()
 o setFrom(Object)
 o setTime(float)
 o setTo(EventDestination)
 o toString()

Constructors

 o SimEvent
 public SimEvent(Object f,
                 EventDestination t,
                 float ti)

Methods

 o equals
 public boolean equals(Object o)
Override this method to provide the type of equality you want the simulator to search for when using the removeEvent method

Overrides:
equals in class Object
 o toString
 public String toString()
Overrides:
toString in class Object
 o getFrom
 public Object getFrom()
 o getTo
 public EventDestination getTo()
 o getTime
 public float getTime()
 o setTo
 public void setTo(EventDestination ed)
 o setTime
 public void setTime(float t)
 o setFrom
 public void setFrom(Object f)