Packages

object Chunk extends CollectorK[Chunk] with ChunkCompanionPlatform with Serializable

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

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

  11. def byteBuffer(buf: java.nio.ByteBuffer): Chunk[Byte]

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

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

    Creates a chunk backed by a byte vector.

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

    Creates a chunk backed by a Chain.

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

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

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

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

  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. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def indexedSeq[O](s: IndexedSeq[O]): Chunk[O]

    Creates a chunk backed by an IndexedSeq.

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

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

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

    Creates a chunk from a scala.collection.Iterable.

  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def newBuilder[O]: Builder[O, Chunk[O]]
    Definition Classes
    ChunkCollectorK
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. def platformIterable[O](i: Iterable[O]): Option[Chunk[O]]
    Attributes
    protected
    Definition Classes
    ChunkCompanionPlatform
  33. def queue[A](queue: scala.collection.immutable.Queue[A]): Chunk[A]

    Creates a chunk consisting of the elements of queue.

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

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

    Creates a chunk from a scala.collection.Seq.

  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. def vector[O](v: Vector[O]): Chunk[O]

    Creates a chunk backed by a vector.

  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. object ArraySlice extends Serializable
  44. object ByteBuffer extends Serializable
  45. object CharBuffer extends Serializable
  46. object Queue extends Serializable

Deprecated Value Members

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

Inherited from Serializable

Inherited from ChunkCompanionPlatform

Inherited from CollectorK[Chunk]

Inherited from AnyRef

Inherited from Any

Ungrouped