KickJava   Java API By Example, From Geeks To Geeks.

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

java.util.concurrent
Class ArrayBlockingQueue<E>

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

public ArrayBlockingQueue(int capacity)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ArrayBlockingQueue(int capacity,
                          boolean fair)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ArrayBlockingQueue(int capacity,
                          boolean fair,
                          Collection<? extends E> c)
See Also:
NullPointerException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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 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 Iterator<E> iterator()
See Also:
AbstractCollection, Collection, Iterable, ConcurrentModificationException
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 int size()
See Also:
E, AbstractCollection, Collection
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  


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

Popular Tags