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

Annotations
@SerialVersionUID()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ArrayBlockingQueue
  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 ArrayBlockingQueue(capacity: Int, fair: Boolean, c: Collection[_ <: E])
  2. new ArrayBlockingQueue(capacity: Int)
  3. new ArrayBlockingQueue(capacity: Int, fair: Boolean)

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
  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
    ArrayBlockingQueueBlockingQueue
  13. def drainTo(c: Collection[_ >: E]): Int
    Definition Classes
    ArrayBlockingQueueBlockingQueue
  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. val fair: Boolean
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. def forEach(action: Consumer[_ >: E]): Unit
    Definition Classes
    ArrayBlockingQueueIterable
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def isEmpty(): Boolean
    Definition Classes
    AbstractCollectionCollection
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. 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
    ArrayBlockingQueueAbstractCollectionCollectionIterable
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def offer(e: E, timeout: Long, unit: TimeUnit): Boolean
    Definition Classes
    ArrayBlockingQueueBlockingQueue
    Annotations
    @throws(scala.this.throws.<init>$default$1[InterruptedException])
  29. def offer(e: E): Boolean
    Definition Classes
    ArrayBlockingQueueBlockingQueueQueue
  30. def parallelStream(): Stream[E]
    Definition Classes
    Collection
  31. def peek(): E
    Definition Classes
    ArrayBlockingQueueQueue
  32. def poll(timeout: Long, unit: TimeUnit): E
    Definition Classes
    ArrayBlockingQueueBlockingQueue
    Annotations
    @throws(scala.this.throws.<init>$default$1[InterruptedException])
  33. def poll(): E
    Definition Classes
    ArrayBlockingQueueQueue
  34. def put(e: E): Unit
    Definition Classes
    ArrayBlockingQueueBlockingQueue
    Annotations
    @throws(scala.this.throws.<init>$default$1[InterruptedException])
  35. def remainingCapacity(): Int
    Definition Classes
    ArrayBlockingQueueBlockingQueue
  36. def remove(o: Any): Boolean
  37. def remove(): E
    Definition Classes
    AbstractQueueQueue
  38. def removeAll(c: Collection[_]): Boolean
  39. def removeIf(filter: Predicate[_ >: E]): Boolean
    Definition Classes
    ArrayBlockingQueueCollection
  40. def retainAll(c: Collection[_]): Boolean
  41. def size(): Int
  42. 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
    ArrayBlockingQueueCollectionIterable
  43. def stream(): Stream[E]
    Definition Classes
    Collection
  44. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  45. def take(): E
    Definition Classes
    ArrayBlockingQueueBlockingQueue
    Annotations
    @throws(scala.this.throws.<init>$default$1[InterruptedException])
  46. def toArray[T <: AnyRef](_a: Array[T]): Array[T]
  47. 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
    ArrayBlockingQueueAbstractCollectionCollection
  48. def toString(): String
    Definition Classes
    ArrayBlockingQueueAbstractCollection → AnyRef → Any
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  51. 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