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
-
SimEvent(Object, EventDestination, float)
-
-
equals(Object)
- Override this method to provide the type
of equality you want the simulator to
search for when using the removeEvent method
-
getFrom()
-
-
getTime()
-
-
getTo()
-
-
setFrom(Object)
-
-
setTime(float)
-
-
setTo(EventDestination)
-
-
toString()
-
SimEvent
public SimEvent(Object f,
EventDestination t,
float ti)
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
toString
public String toString()
- Overrides:
- toString in class Object
getFrom
public Object getFrom()
getTo
public EventDestination getTo()
getTime
public float getTime()
setTo
public void setTo(EventDestination ed)
setTime
public void setTime(float t)
setFrom
public void setFrom(Object f)