monifu.collection

mutable

package mutable

Visibility
  1. Public
  2. All

Type Members

  1. final class ConcurrentQueue[A] extends Iterable[A] with GenericTraversableTemplate[A, ConcurrentQueue] with Cloneable[ConcurrentQueue[A]] with Serializable

    An efficient queue data-structure.

    An efficient queue data-structure.

    On top of the JVM it is backed by a java.util.concurrent.ConcurrentLinkedQueue so it can be used in a multi-threading context. On top of Scala.js / Javascript it is backed by a scala.collection.mutable.Queue.

    Contrary to Scala best-practices, the poll() method that pulls elements from our queue is returning null in case the queue is empty.

Value Members

  1. object ConcurrentQueue extends GenTraversableFactory[ConcurrentQueue] with TraversableFactory[ConcurrentQueue] with Serializable

    An efficient queue data-structure.

    An efficient queue data-structure.

    On top of the JVM it is backed by a java.util.concurrent.ConcurrentLinkedQueue so it can be used in a multi-threading context. On top of Scala.js / Javascript it is backed by a scala.collection.mutable.Queue.

    Contrary to Scala best-practices, the poll() method that pulls elements from our queue is returning null in case the queue is empty.

Ungrouped