class LinkedBlockingQueue[E <: AnyRef] extends AbstractQueue[E] with BlockingQueue[E] with Serializable

Annotations
@SerialVersionUID()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LinkedBlockingQueue
  2. Serializable
  3. BlockingQueue
  4. AbstractQueue
  5. Queue
  6. AbstractCollection
  7. Collection
  8. Iterable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new LinkedBlockingQueue(c: Collection[_ <: E])
  2. new LinkedBlockingQueue()
  3. new LinkedBlockingQueue(capacity: Int)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(e: E): Boolean
    Definition Classes
    AbstractQueueQueueAbstractCollectionCollection
  5. def addAll(c: Collection[_ <: E]): Boolean
    Definition Classes
    AbstractQueueAbstractCollectionCollection
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val capacity: Int
  8. def clear(): Unit
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def contains(o: Any): Boolean
  11. def containsAll(c: Collection[_]): Boolean
    Definition Classes
    AbstractCollectionCollection
  12. def drainTo(c: Collection[_ >: E], maxElements: Int): Int
    Definition Classes
    LinkedBlockingQueueBlockingQueue
  13. def drainTo(c: Collection[_ >: E]): Int
    Definition Classes
    LinkedBlockingQueueBlockingQueue
  14. def element(): E
    Definition Classes
    AbstractQueueQueue
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. def forEach(action: Consumer[_ >: E]): Unit
    Definition Classes
    LinkedBlockingQueueIterable
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def isEmpty(): Boolean
    Definition Classes
    AbstractCollectionCollection
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def iterator(): Iterator[E]

    Returns an iterator over the elements in this queue in proper sequence.

    Returns an iterator over the elements in this queue in proper sequence. The elements will be returned in order from first (head) to last (tail).

    The returned iterator is <a href="package-summary.html#Weakly">weakly consistent.

    returns

    an iterator over the elements in this queue in proper sequence

    Definition Classes
    LinkedBlockingQueueAbstractCollectionCollectionIterable
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def offer(e: E): Boolean
    Definition Classes
    LinkedBlockingQueueBlockingQueueQueue
  28. def offer(e: E, timeout: Long, unit: TimeUnit): Boolean
    Definition Classes
    LinkedBlockingQueueBlockingQueue
    Annotations
    @throws(scala.this.throws.<init>$default$1[InterruptedException])
  29. def parallelStream(): Stream[E]
    Definition Classes
    Collection
  30. def peek(): E
    Definition Classes
    LinkedBlockingQueueQueue
  31. def poll(): E
    Definition Classes
    LinkedBlockingQueueQueue
  32. def poll(timeout: Long, unit: TimeUnit): E
    Definition Classes
    LinkedBlockingQueueBlockingQueue
    Annotations
    @throws(scala.this.throws.<init>$default$1[InterruptedException])
  33. def put(e: E): Unit
    Definition Classes
    LinkedBlockingQueueBlockingQueue
    Annotations
    @throws(scala.this.throws.<init>$default$1[InterruptedException])
  34. def remainingCapacity(): Int
    Definition Classes
    LinkedBlockingQueueBlockingQueue
  35. def remove(o: Any): Boolean
  36. def remove(): E
    Definition Classes
    AbstractQueueQueue
  37. def removeAll(c: Collection[_]): Boolean
  38. def removeIf(filter: Predicate[_ >: E]): Boolean
    Definition Classes
    LinkedBlockingQueueCollection
  39. def retainAll(c: Collection[_]): Boolean
  40. def size(): Int
  41. def spliterator(): Spliterator[E]

    From the Java 8 documentation: The default implementation should usually be overridden.

    From the Java 8 documentation: The default implementation should usually be overridden. The spliterator returned by the default implementation has poor splitting capabilities, is unsized, and does not report any spliterator characteristics. Implementing classes can nearly always provide a better implementation.

    Definition Classes
    LinkedBlockingQueueCollectionIterable
  42. def stream(): Stream[E]
    Definition Classes
    Collection
  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  44. def take(): E
    Definition Classes
    LinkedBlockingQueueBlockingQueue
    Annotations
    @throws(scala.this.throws.<init>$default$1[InterruptedException])
  45. def toArray[T <: AnyRef](_a: Array[T]): Array[T]
  46. def toArray(): Array[AnyRef]

    Returns an array containing all of the elements in this queue, in proper sequence.

    Returns an array containing all of the elements in this queue, in proper sequence.

    The returned array will be "safe" in that no references to it are maintained by this queue. (In other words, this method must allocate a new array). The caller is thus free to modify the returned array.

    This method acts as bridge between array-based and collection-based APIs.

    returns

    an array containing all of the elements in this queue

    Definition Classes
    LinkedBlockingQueueAbstractCollectionCollection
  47. def toString(): String
    Definition Classes
    LinkedBlockingQueueAbstractCollection → AnyRef → Any
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from BlockingQueue[E]

Inherited from AbstractQueue[E]

Inherited from Queue[E]

Inherited from AbstractCollection[E]

Inherited from Collection[E]

Inherited from Iterable[E]

Inherited from AnyRef

Inherited from Any

Ungrouped