Packages

object Chunk extends ChunkFactory with ChunkPlatformSpecific

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Chunk
  2. ChunkPlatformSpecific
  3. ChunkFactory
  4. StrictOptimizedSeqFactory
  5. SeqFactory
  6. IterableFactory
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class AnyRefArray[A <: AnyRef](array: Array[A], offset: Int, length: Int) extends Arr[A] with ChunkIterator[A] with Product with Serializable
  2. final case class BooleanArray(array: Array[Boolean], offset: Int, length: Int) extends Arr[Boolean] with ChunkIterator[Boolean] with Product with Serializable
  3. final case class ByteArray(array: Array[Byte], offset: Int, length: Int) extends Arr[Byte] with ChunkIterator[Byte] with Product with Serializable
  4. final case class CharArray(array: Array[Char], offset: Int, length: Int) extends Arr[Char] with ChunkIterator[Char] with Product with Serializable
  5. sealed trait ChunkIterator[+A] extends AnyRef

    A ChunkIterator is a specialized iterator that supports efficient iteration over chunks.

    A ChunkIterator is a specialized iterator that supports efficient iteration over chunks. Unlike a normal iterator, the caller is responsible for providing an index with each call to hasNextAt and nextAt. By contract this should be 0 initially and incremented by 1 each time nextAt is called. This allows the caller to maintain the current index in local memory rather than the iterator having to do it on the heap for array backed chunks.

  6. final case class DoubleArray(array: Array[Double], offset: Int, length: Int) extends Arr[Double] with ChunkIterator[Double] with Product with Serializable
  7. final case class FloatArray(array: Array[Float], offset: Int, length: Int) extends Arr[Float] with ChunkIterator[Float] with Product with Serializable
  8. final case class IntArray(array: Array[Int], offset: Int, length: Int) extends Arr[Int] with ChunkIterator[Int] with Product with Serializable
  9. sealed trait IsText[-T] extends AnyRef
  10. final case class LongArray(array: Array[Long], offset: Int, length: Int) extends Arr[Long] with ChunkIterator[Long] with Product with Serializable
  11. final case class ShortArray(array: Array[Short], offset: Int, length: Int) extends Arr[Short] with ChunkIterator[Short] with Product with Serializable

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[A](as: A*): Chunk[A]

    Returns a chunk from a number of values.

    Returns a chunk from a number of values.

    Definition Classes
    Chunk → IterableFactory
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def concat[A](xss: Iterable[A]*): Chunk[A]
    Definition Classes
    StrictOptimizedSeqFactory → IterableFactory
  8. def empty[A]: Chunk[A]

    Returns the empty chunk.

    Returns the empty chunk.

    Definition Classes
    Chunk → IterableFactory
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def fill[A](n: Int)(elem: => A): Chunk[A]
    Definition Classes
    Chunk → StrictOptimizedSeqFactory → IterableFactory
  12. def fill[A](n1: Int, n2: Int, n3: Int, n4: Int, n5: Int)(elem: => A): Chunk[Chunk[Chunk[Chunk[Chunk[A]]]]]
    Definition Classes
    IterableFactory
  13. def fill[A](n1: Int, n2: Int, n3: Int, n4: Int)(elem: => A): Chunk[Chunk[Chunk[Chunk[A]]]]
    Definition Classes
    IterableFactory
  14. def fill[A](n1: Int, n2: Int, n3: Int)(elem: => A): Chunk[Chunk[Chunk[A]]]
    Definition Classes
    IterableFactory
  15. def fill[A](n1: Int, n2: Int)(elem: => A): Chunk[Chunk[A]]
    Definition Classes
    IterableFactory
  16. final def from[A](source: IterableOnce[A]): Chunk[A]
    Definition Classes
    ChunkFactory → IterableFactory
  17. def fromArray[A](array: Array[A]): Chunk[A]

    Returns a chunk backed by an array.

    Returns a chunk backed by an array.

    WARNING: The array must not be mutated after creating the chunk.

  18. def fromByteBuffer(buffer: ByteBuffer): Chunk[Byte]

    Returns a chunk backed by a java.nio.ByteBuffer.

  19. def fromCharBuffer(buffer: CharBuffer): Chunk[Char]

    Returns a chunk backed by a java.nio.CharBuffer.

  20. def fromDoubleBuffer(buffer: DoubleBuffer): Chunk[Double]

    Returns a chunk backed by a java.nio.DoubleBuffer.

  21. def fromFloatBuffer(buffer: FloatBuffer): Chunk[Float]

    Returns a chunk backed by a java.nio.FloatBuffer.

  22. def fromIntBuffer(buffer: IntBuffer): Chunk[Int]

    Returns a chunk backed by a java.nio.IntBuffer.

  23. def fromIterable[A](it: Iterable[A]): Chunk[A]

    Returns a chunk backed by an iterable.

  24. def fromIterator[A](iterator: Iterator[A]): Chunk[A]

    Creates a chunk from an iterator.

  25. def fromJavaIterable[A](iterable: Iterable[A]): Chunk[A]

    Returns a chunk backed by a Java iterable.

  26. def fromJavaIterator[A](iterator: Iterator[A]): Chunk[A]

    Creates a chunk from a Java iterator.

  27. def fromLongBuffer(buffer: LongBuffer): Chunk[Long]

    Returns a chunk backed by a java.nio.LongBuffer.

  28. def fromShortBuffer(buffer: ShortBuffer): Chunk[Short]

    Returns a chunk backed by a java.nio.ShortBuffer.

  29. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. implicit def iterableFactory[A]: Factory[A, Chunk[A]]
    Definition Classes
    IterableFactory
  33. def iterate[A](start: A, len: Int)(f: (A) => A): Chunk[A]
    Definition Classes
    Chunk → IterableFactory
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def newBuilder[A]: ChunkBuilder[A]
    Definition Classes
    Chunk → IterableFactory
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. def range[A](start: A, end: A, step: A)(implicit arg0: Integral[A]): Chunk[A]
    Definition Classes
    IterableFactory
  39. def range[A](start: A, end: A)(implicit arg0: Integral[A]): Chunk[A]
    Definition Classes
    IterableFactory
  40. def single[A](a: A): Chunk[A]

    Returns a singleton chunk, eagerly evaluated.

  41. def succeed[A](a: A): Chunk[A]

    Alias for Chunk.single.

  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def tabulate[A](n: Int)(f: (Int) => A): Chunk[A]
    Definition Classes
    StrictOptimizedSeqFactory → IterableFactory
  44. def tabulate[A](n1: Int, n2: Int, n3: Int, n4: Int, n5: Int)(f: (Int, Int, Int, Int, Int) => A): Chunk[Chunk[Chunk[Chunk[Chunk[A]]]]]
    Definition Classes
    IterableFactory
  45. def tabulate[A](n1: Int, n2: Int, n3: Int, n4: Int)(f: (Int, Int, Int, Int) => A): Chunk[Chunk[Chunk[Chunk[A]]]]
    Definition Classes
    IterableFactory
  46. def tabulate[A](n1: Int, n2: Int, n3: Int)(f: (Int, Int, Int) => A): Chunk[Chunk[Chunk[A]]]
    Definition Classes
    IterableFactory
  47. def tabulate[A](n1: Int, n2: Int)(f: (Int, Int) => A): Chunk[Chunk[A]]
    Definition Classes
    IterableFactory
  48. def toString(): String
    Definition Classes
    AnyRef → Any
  49. final def unapplySeq[A](x: Chunk[A]): UnapplySeqWrapper[A]
    Definition Classes
    SeqFactory
  50. def unfold[S, A](s: S)(f: (S) => Option[(A, S)]): Chunk[A]

    Constructs a Chunk by repeatedly applying the function f as long as it returns Some.

  51. def unfold[A, S](init: S)(f: (S) => Option[(A, S)]): Chunk[A]
    Definition Classes
    IterableFactory
  52. def unfoldZIO[R, E, A, S](s: S)(f: (S) => ZIO[R, E, Option[(A, S)]])(implicit trace: Trace): ZIO[R, E, Chunk[A]]

    Constructs a Chunk by repeatedly applying the effectual function f as long as it returns Some.

  53. val unit: Chunk[Unit]

    The unit chunk

  54. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  57. object BitChunk extends Serializable
  58. object ChunkIterator
  59. object IsText

Deprecated Value Members

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

    (Since version 9)

Inherited from ChunkPlatformSpecific

Inherited from ChunkFactory

Inherited from SeqFactory[Chunk]

Inherited from IterableFactory[Chunk]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped