com.koushikdutta.async
Class AsyncServer.ThreadQueue

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.AbstractSequentialList<E>
              extended by java.util.LinkedList<java.lang.Runnable>
                  extended by com.koushikdutta.async.AsyncServer.ThreadQueue
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.lang.Runnable>, java.util.Collection<java.lang.Runnable>, java.util.Deque<java.lang.Runnable>, java.util.List<java.lang.Runnable>, java.util.Queue<java.lang.Runnable>
Enclosing class:
AsyncServer

public static class AsyncServer.ThreadQueue
extends java.util.LinkedList<java.lang.Runnable>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
AsyncServer.ThreadQueue()
           
 
Method Summary
 boolean add(java.lang.Runnable object)
           
 java.lang.Runnable remove()
           
 boolean remove(java.lang.Object object)
           
 
Methods inherited from class java.util.LinkedList
add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, toArray, toArray
 
Methods inherited from class java.util.AbstractSequentialList
iterator
 
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList
 
Methods inherited from interface java.util.Deque
iterator
 

Constructor Detail

AsyncServer.ThreadQueue

public AsyncServer.ThreadQueue()
Method Detail

add

public boolean add(java.lang.Runnable object)
Specified by:
add in interface java.util.Collection<java.lang.Runnable>
Specified by:
add in interface java.util.Deque<java.lang.Runnable>
Specified by:
add in interface java.util.List<java.lang.Runnable>
Specified by:
add in interface java.util.Queue<java.lang.Runnable>
Overrides:
add in class java.util.LinkedList<java.lang.Runnable>

remove

public boolean remove(java.lang.Object object)
Specified by:
remove in interface java.util.Collection<java.lang.Runnable>
Specified by:
remove in interface java.util.Deque<java.lang.Runnable>
Specified by:
remove in interface java.util.List<java.lang.Runnable>
Overrides:
remove in class java.util.LinkedList<java.lang.Runnable>

remove

public java.lang.Runnable remove()
Specified by:
remove in interface java.util.Deque<java.lang.Runnable>
Specified by:
remove in interface java.util.Queue<java.lang.Runnable>
Overrides:
remove in class java.util.LinkedList<java.lang.Runnable>