|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.webmancer.base.EventQueue
public class EventQueue
Constructor Summary | |
---|---|
EventQueue()
Constructs the EventQueue. |
Method Summary | |
---|---|
boolean |
hasEvents()
Determine whether there are some events in the queue. |
Event |
nextEvent()
Return the next event in the queue or null if the queue is empty. |
void |
putEvent(Event event)
Put the event into the event queue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventQueue()
Method Detail |
---|
public boolean hasEvents()
IEventQueue
hasEvents
in interface IEventQueue
true
if there are some events in the queue.IEventQueue.hasEvents()
public Event nextEvent()
IEventQueue
null
if the queue is empty.
nextEvent
in interface IEventQueue
null
if the queue is empty.IEventQueue.nextEvent()
public void putEvent(Event event)
IEventQueue
putEvent
in interface IEventQueue
event
- The event to put into this queue (must not be null
)IEventQueue.putEvent(net.sf.webmancer.base.Event)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |