neosim.iface
Interface EventList

All Known Implementing Classes:
EventListImpl

public interface EventList
extends java.io.Serializable


Method Summary
 void add(Event new_event)
          Add a new event to the queue, preserving the temporal order of the events in the queue.
 java.util.Vector getEvents()
          Return the vector of events
 boolean hasMoreElements()
          Returns true if there are any more events in the list
 Event pop()
          Remove and return the event at the top of the queue.
 Event top()
          Return the event at the top of the queue, without removing it.
 

Method Detail

getEvents

public java.util.Vector getEvents()
Return the vector of events

pop

public Event pop()
Remove and return the event at the top of the queue.
Returns:
The next event.

top

public Event top()
Return the event at the top of the queue, without removing it.
Returns:
The next event.

add

public void add(Event new_event)
Add a new event to the queue, preserving the temporal order of the events in the queue.
Parameters:
new_event - The event to be put on the queue.

hasMoreElements

public boolean hasMoreElements()
Returns true if there are any more events in the list
Returns:
true if any more events