KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > util > concurrent > SynchronousQueue

java.util.concurrent
Class SynchronousQueue<E>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractQueue<E>
          extended by java.util.concurrent.SynchronousQueue<E>
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, BlockingQueue<E>, Queue<E>
See Also:
Iterator

public void clear()
See Also:
E, AbstractQueue, Collection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean contains(Object o)
See Also:
E, AbstractCollection, Collection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean containsAll(Collection<?> c)
See Also:
AbstractCollection.contains(Object), E
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int drainTo(Collection<? super E> c)
See Also:
BlockingQueue
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int drainTo(Collection<? super E> c,
                   int maxElements)
See Also:
BlockingQueue
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isEmpty()
See Also:
E, AbstractCollection, Collection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Iterator<E> iterator()
See Also:
AbstractCollection, Collection, Iterable
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean offer(E o)
See Also:
NullPointerException, Queue, BlockingQueue
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean offer(E o,
                     long timeout,
                     TimeUnit unit)
              throws InterruptedException
See Also:
NullPointerException, BlockingQueue
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public E peek()
See Also:
Queue
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public E poll()
See Also:
Queue
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public E poll(long timeout,
              TimeUnit unit)
       throws InterruptedException
See Also:
BlockingQueue
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void put(E o)
         throws InterruptedException
See Also:
NullPointerException, BlockingQueue
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int remainingCapacity()
See Also:
E, BlockingQueue
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean remove(Object o)
See Also:
E, AbstractCollection, Collection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean removeAll(Collection<?> c)
See Also:
AbstractCollection.contains(Object), AbstractCollection.remove(Object), E
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean retainAll(Collection<?> c)
See Also:
AbstractCollection.contains(Object), AbstractCollection.remove(Object), E
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int size()
See Also:
E, AbstractCollection, Collection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public SynchronousQueue()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public SynchronousQueue(boolean fair)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public E take()
       throws InterruptedException
See Also:
BlockingQueue
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object[] toArray()
See Also:
E, AbstractCollection, Collection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public <T> T[] toArray(T[] a)
See Also:
E, AbstractCollection, Collection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags