org.browsecode.helpers.eventqueue
Class DoQueuedThread<T>

java.lang.Object
  extended by org.browsecode.helpers.eventqueue.DoQueuedThread<T>

public class DoQueuedThread<T>
extends java.lang.Object


Constructor Summary
DoQueuedThread(DoQueuedHandler<T> handler)
           
DoQueuedThread(DoQueuedHandler<T> handler, int sleepBetweeEveryEvent)
           
 
Method Summary
 void addToQueue(T toDo)
           
 int getNumEventsInQueue()
           
 boolean isRunning()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoQueuedThread

public DoQueuedThread(DoQueuedHandler<T> handler)

DoQueuedThread

public DoQueuedThread(DoQueuedHandler<T> handler,
                      int sleepBetweeEveryEvent)
Method Detail

addToQueue

public void addToQueue(T toDo)

isRunning

public boolean isRunning()

getNumEventsInQueue

public int getNumEventsInQueue()
Returns: