Packages

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

Source
Chunk.scala
Linear Supertypes
Serializable, ChunkCompanionRuntimePlatform, ChunkCompanionPlatform, CollectorK[Chunk], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Chunk
  2. Serializable
  3. ChunkCompanionRuntimePlatform
  4. ChunkCompanionPlatform
  5. CollectorK
  6. AnyRef
  7. 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. def arraySeq[O](arraySeq: ArraySeq[O]): Chunk[O]

    Creates a chunk backed by a mutable ArraySeq.

  8. 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
    ChunkCompanionPlatform
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def byteBuffer(buf: java.nio.ByteBuffer): Chunk[Byte]

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

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

    Creates a chunk backed by a byte vector.

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

    Creates a chunk backed by a Chain.

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

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

  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  15. 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.

  16. 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.

  17. def constant[A](value: A, size: Int): Chunk[A]
  18. def empty[A]: Chunk[A]

    Chunk with no elements.

  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. implicit def eqInstance[A](implicit A: Eq[A]): Eq[Chunk[A]]
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  23. def fromOption[O](opt: Option[O]): Chunk[O]

    Creates a singleton chunk or returns an empty one

  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def indexedSeq[O](s: IndexedSeq[O]): Chunk[O]

    Creates a chunk backed by an IndexedSeq.

  27. implicit val instance: Traverse[Chunk] with Monad[Chunk] with Alternative[Chunk] with TraverseFilter[Chunk]

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

  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def iterable[O](i: Iterable[O]): Chunk[O]

    Creates a chunk from a scala.collection.Iterable.

  30. 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
    ChunkCompanionPlatform
  31. def iterator[O](itr: Iterator[O]): Chunk[O]

    Creates a chunk from a scala.collection.Iterator.

  32. implicit def monoidInstance[A]: Monoid[Chunk[A]]
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. def newBuilder[O]: Builder[O, Chunk[O]]
    Definition Classes
    ChunkCollectorK
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. def platformIterable[O](i: Iterable[O]): Option[Chunk[O]]
    Attributes
    protected
    Definition Classes
    ChunkCompanionPlatform
  38. def queue[A](queue: scala.collection.immutable.Queue[A]): Chunk[A]

    Creates a chunk consisting of the elements of queue.

  39. 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.

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

    Creates a chunk from a scala.collection.Seq.

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

    Creates a chunk consisting of a single element.

  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. def vector[O](v: Vector[O]): Chunk[O]

    Creates a chunk backed by a vector.

  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  48. object ArraySlice extends Serializable
  49. object ByteBuffer extends Serializable
  50. object CharBuffer extends Serializable
  51. object Queue extends Serializable

Deprecated Value Members

  1. 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

Inherited from Serializable

Inherited from ChunkCompanionRuntimePlatform

Inherited from ChunkCompanionPlatform

Inherited from CollectorK[Chunk]

Inherited from AnyRef

Inherited from Any

Ungrouped