Class/Object

fs2.Chunk

Queue

Related Docs: object Queue | package Chunk

Permalink

final class Queue[A] extends AnyRef

A FIFO queue of chunks that provides an O(1) size method and provides the ability to take and drop individual elements while preserving the chunk structure as much as possible.

This is similar to a queue of individual elements but chunk structure is maintained.

Source
Chunk.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Queue
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Queue[A] to any2stringadd[Queue[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def +:(c: Chunk[A]): Queue[A]

    Permalink

    Prepends a chunk to the start of this chunk queue.

  5. def ->[B](y: B): (Queue[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Queue[A] to ArrowAssoc[Queue[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. def :+(c: Chunk[A]): Queue[A]

    Permalink

    Appends a chunk to the end of this chunk queue.

  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. val chunks: scala.collection.immutable.Queue[Chunk[A]]

    Permalink
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def drop(n: Int): Queue[A]

    Permalink

    Drops the first n elements of this chunk queue in a way that preserves chunk structure.

  12. def dropRight(n: Int): Queue[A]

    Permalink

    Drops the right-most n elements of this chunk queue in a way that preserves chunk structure.

  13. def ensuring(cond: (Queue[A]) ⇒ Boolean, msg: ⇒ Any): Queue[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Queue[A] to Ensuring[Queue[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (Queue[A]) ⇒ Boolean): Queue[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Queue[A] to Ensuring[Queue[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): Queue[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Queue[A] to Ensuring[Queue[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): Queue[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Queue[A] to Ensuring[Queue[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    Queue → AnyRef → Any
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Queue[A] to StringFormat[Queue[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Permalink
    Definition Classes
    Queue → AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def iterator: Iterator[A]

    Permalink
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. val size: Int

    Permalink
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def take(n: Int): Queue[A]

    Permalink

    Takes the first n elements of this chunk queue in a way that preserves chunk structure.

  31. def takeRight(n: Int): Queue[A]

    Permalink

    Takes the right-most n elements of this chunk queue in a way that preserves chunk structure.

  32. def toChunk: Chunk[A]

    Permalink

    Converts this chunk queue to a single chunk, copying all chunks to a single chunk.

  33. def toString(): String

    Permalink
    Definition Classes
    Queue → AnyRef → Any
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def [B](y: B): (Queue[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Queue[A] to ArrowAssoc[Queue[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Queue[A] to any2stringadd[Queue[A]]

Inherited by implicit conversion StringFormat from Queue[A] to StringFormat[Queue[A]]

Inherited by implicit conversion Ensuring from Queue[A] to Ensuring[Queue[A]]

Inherited by implicit conversion ArrowAssoc from Queue[A] to ArrowAssoc[Queue[A]]

Ungrouped