Module java.base
Package java.util.concurrent

# Class LinkedBlockingQueue

=
public class LinkedBlockingQueue<E>
extends java.util.AbstractQueue<E>
implements java.io.Serializable, java.util.concurrent.BlockingQueue<E>

## Constructors

- =
  public LinkedBlockingQueue()
- =
  public LinkedBlockingQueue(int arg0)
- =
  public LinkedBlockingQueue(java.util.Collection<? extends E> arg0)

## Methods

- =
  public void clear()
- =
  public boolean contains(java.lang.Object arg0)
- =
  public int drainTo(java.util.Collection<? super E> arg0)
- =
  public int drainTo(java.util.Collection<? super E> arg0, int arg1)
- =
  public void forEach(java.util.function.Consumer<? super E> arg0)
- =
  public java.util.Iterator<E> iterator()
- =
  public boolean offer(E arg0)
- =
  public boolean offer(E arg0, long arg1, java.util.concurrent.TimeUnit arg2) throws java.lang.InterruptedException
- =
  public E peek()
- =
  public E poll()
- =
  public E poll(long arg0, java.util.concurrent.TimeUnit arg1) throws java.lang.InterruptedException
- =
  public void put(E arg0) throws java.lang.InterruptedException
- =
  public int remainingCapacity()
- =
  public boolean remove(java.lang.Object arg0)
- =
  public boolean removeAll(java.util.Collection<?> arg0)
- =
  public boolean removeIf(java.util.function.Predicate<? super E> arg0)
- =
  public boolean retainAll(java.util.Collection<?> arg0)
- =
  public int size()
- =
  public java.util.Spliterator<E> spliterator()
- =
  public E take() throws java.lang.InterruptedException
- =
  public java.lang.Object[] toArray()
- =
  public <T> T[] toArray(T[] arg0)
- =
  public java.lang.String toString()

## Serialized Form

=

### serialVersionUID

=-6903933977591709194

### Serialized Fields

- =
  int capacity
- =
  java.util.concurrent.atomic.AtomicInteger count
- =
  java.util.concurrent.locks.Condition notEmpty
- =
  java.util.concurrent.locks.Condition notFull
- =
  java.util.concurrent.locks.ReentrantLock putLock
- =
  java.util.concurrent.locks.ReentrantLock takeLock

### Serialization Methods

- =
  private void readObject(java.io.ObjectInputStream arg0) throws java.io.IOException, java.lang.ClassNotFoundException
- =
  private void writeObject(java.io.ObjectOutputStream arg0) throws java.io.IOException

## Summary

No differences.