com.newisys.eventsim
Class Event

java.lang.Object
  extended by com.newisys.eventsim.Event
Direct Known Subclasses:
PulseEvent, StepEvent

public abstract class Event
extends Object

An abstract Event.


Constructor Summary
Event()
          Create a new Event.
Event(String name)
          Create a new Event with the specified name.
 
Method Summary
abstract  boolean hasOccurred()
          Returns whether or not this Event has occurred.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Event

public Event()
Create a new Event.


Event

public Event(String name)
Create a new Event with the specified name.

Parameters:
name - the name of this Event
Method Detail

hasOccurred

public abstract boolean hasOccurred()
Returns whether or not this Event has occurred.

Returns:
true if this Event has occurred, false otherwise

toString

public String toString()
Overrides:
toString in class Object