Packages

object Chunk extends CollectorK[Chunk] with ChunkCompanionPlatform with ChunkCompanionRuntimePlatform with Serializable

Source
Chunk.scala
Linear Supertypes
Serializable, ChunkCompanionRuntimePlatform, ChunkCompanionPlatform, ChunkCompanion213And3Compat, CollectorK[Chunk], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Chunk
  2. Serializable
  3. ChunkCompanionRuntimePlatform
  4. ChunkCompanionPlatform
  5. ChunkCompanion213And3Compat
  6. CollectorK
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class ArraySlice[O](values: Array[O], offset: Int, length: Int)(implicit ct: ClassTag[O]) extends Chunk[O] with Product with Serializable
  2. sealed abstract class Buffer[A <: Buffer[A, B, C], B <: java.nio.Buffer, C] extends Chunk[C]
  3. case class ByteBuffer extends Buffer[ByteBuffer, java.nio.ByteBuffer, Byte] with Product with Serializable
  4. case class CharBuffer(buf: java.nio.CharBuffer, offset: Int, size: Int) extends Buffer[CharBuffer, java.nio.CharBuffer, Char] with Product with Serializable
  5. final class Constant[A] extends Chunk[A]
  6. final class Queue[+O] extends Chunk[O]

    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.

    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.

  7. final class Singleton[O] extends Chunk[O]

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 apply[O](os: O*): Chunk[O]

    Creates a chunk with the specified values.

  5. def array[O](values: Array[O], offset: Int, length: Int)(implicit arg0: ClassTag[O]): Chunk[O]

    Creates a chunk backed by a slice of an array.

  6. def array[O](values: Array[O])(implicit arg0: ClassTag[O]): Chunk[O]

    Creates a chunk backed by an array.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def byteBuffer(buf: java.nio.ByteBuffer): Chunk[Byte]

    Creates a chunk backed by an byte buffer, bounded by the current position and limit

  9. def byteVector(bv: ByteVector): Chunk[Byte]

    Creates a chunk backed by a byte vector.

  10. def chain[O](c: Chain[O]): Chunk[O]

    Creates a chunk backed by a Chain.

  11. def charBuffer(buf: java.nio.CharBuffer): Chunk[Char]

    Creates a chunk backed by an char buffer, bounded by the current position and limit

  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  13. def concat[A](chunks: Seq[Chunk[A]], totalSize: Int)(implicit arg0: ClassTag[A]): Chunk[A]

    Concatenates the specified sequence of chunks in to a single chunk, avoiding boxing.

    Concatenates the specified sequence of chunks in to a single chunk, avoiding boxing. The totalSize parameter must be equal to the sum of the size of each chunk or otherwise an exception may be thrown.

  14. def concat[A](chunks: Seq[Chunk[A]])(implicit arg0: ClassTag[A]): Chunk[A]

    Concatenates the specified sequence of chunks in to a single chunk, avoiding boxing.

  15. def constant[A](value: A, size: Int): Chunk[A]
  16. def empty[A]: Chunk[A]

    Chunk with no elements.

  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. implicit def eqInstance[A](implicit A: Eq[A]): Eq[Chunk[A]]
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. def from[O](i: Iterable[O]): Chunk[O]
  21. def fromOption[O](opt: Option[O]): Chunk[O]

    Creates a singleton chunk or returns an empty one

  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  24. implicit val instance: Traverse[Chunk] with Monad[Chunk] with Alternative[Chunk] with TraverseFilter[Chunk]

    Traverse, Monad, Alternative, and TraverseFilter instance for Chunk.

  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def iterableOnce[O](i: IterableOnce[O]): Chunk[O]

    Creates a chunk from a scala.collection.IterableOnce.

    Creates a chunk from a scala.collection.IterableOnce.

    Definition Classes
    ChunkCompanion213And3Compat
  27. def iterator[O](itr: Iterator[O]): Chunk[O]

    Creates a chunk from a scala.collection.Iterator.

  28. def javaList[O](javaList: List[O]): Chunk[O]

    Creates a chunk from a mutable java.util.List.

  29. implicit def monoidInstance[A]: Monoid[Chunk[A]]
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. def newBuilder[O]: Builder[O, Chunk[O]]
    Definition Classes
    ChunkCollectorK
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  34. def platformFrom[O](i: Iterable[O]): Option[Chunk[O]]
    Attributes
    protected
    Definition Classes
    ChunkCompanion213And3Compat
  35. def queueFirstN[A](queue: scala.collection.immutable.Queue[A], n: Int): (Chunk[A], scala.collection.immutable.Queue[A])

    Creates a chunk consisting of the first n elements of queue and returns the remainder.

  36. def singleton[O](o: O): Chunk[O]

    Creates a chunk consisting of a single element.

  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. object ArraySlice extends Serializable
  43. object ByteBuffer extends Serializable
  44. object CharBuffer extends Serializable
  45. object Queue extends Serializable

Deprecated Value Members

  1. def arraySeq[O](arraySeq: ArraySeq[O]): Chunk[O]

    Creates a chunk backed by a mutable ArraySeq.

    Creates a chunk backed by a mutable ArraySeq.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.9.0) Use the from general factory instead

  2. def arraySeq[O](arraySeq: ArraySeq[O]): Chunk[O]

    Creates a chunk backed by an immutable ArraySeq.

    Creates a chunk backed by an immutable ArraySeq.

    Definition Classes
    ChunkCompanion213And3Compat
    Annotations
    @deprecated
    Deprecated

    (Since version 3.9.0) Use the from general factory instead

  3. def buffer[O](b: scala.collection.mutable.Buffer[O]): Chunk[O]

    Creates a chunk backed by a mutable buffer.

    Creates a chunk backed by a mutable buffer. The underlying buffer must not be modified after it is passed to this function.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.2.4) Chunk is no longer specialized for collection.mutable.Buffer - use array or indexedSeq instead

  4. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  5. def indexedSeq[O](s: IndexedSeq[O]): Chunk[O]

    Creates a chunk backed by an IndexedSeq.

    Creates a chunk backed by an IndexedSeq.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.9.0) Use the from general factory instead

  6. def iterable[O](i: Iterable[O]): Chunk[O]

    Creates a chunk from a scala.collection.Iterable.

    Creates a chunk from a scala.collection.Iterable.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.9.0) Use the from general factory instead

  7. def queue[A](queue: scala.collection.immutable.Queue[A]): Chunk[A]

    Creates a chunk consisting of the elements of queue.

    Creates a chunk consisting of the elements of queue.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.9.0) Use the from general factory instead

  8. def seq[O](s: Seq[O]): Chunk[O]

    Creates a chunk from a scala.collection.Seq.

    Creates a chunk from a scala.collection.Seq.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.9.0) Use the from general factory instead

  9. def vector[O](v: Vector[O]): Chunk[O]

    Creates a chunk backed by a vector.

    Creates a chunk backed by a vector.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.9.0) Use the from general factory instead

Inherited from Serializable

Inherited from ChunkCompanionRuntimePlatform

Inherited from ChunkCompanionPlatform

Inherited from ChunkCompanion213And3Compat

Inherited from CollectorK[Chunk]

Inherited from AnyRef

Inherited from Any

Ungrouped