Object/Class

zio

Chunk

Related Docs: class Chunk | package zio

Permalink

object Chunk extends IndexedSeqFactory[Chunk] with ChunkFactory with ChunkPlatformSpecific with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Chunk
  2. Serializable
  3. Serializable
  4. ChunkPlatformSpecific
  5. ChunkFactory
  6. IndexedSeqFactory
  7. SeqFactory
  8. TraversableFactory
  9. GenericSeqCompanion
  10. GenSeqFactory
  11. GenTraversableFactory
  12. GenericCompanion
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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

    Permalink
  2. final case class BooleanArray(array: Array[Boolean], offset: Int, length: Int) extends Arr[Boolean] with ChunkIterator[Boolean] with Product with Serializable

    Permalink
  3. final case class ByteArray(array: Array[Byte], offset: Int, length: Int) extends Arr[Byte] with ChunkIterator[Byte] with Product with Serializable

    Permalink
  4. final case class CharArray(array: Array[Char], offset: Int, length: Int) extends Arr[Char] with ChunkIterator[Char] with Product with Serializable

    Permalink
  5. sealed trait ChunkIterator[+A] extends AnyRef

    Permalink

    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. type Coll = Chunk[_]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    GenericCompanion
  7. final case class DoubleArray(array: Array[Double], offset: Int, length: Int) extends Arr[Double] with ChunkIterator[Double] with Product with Serializable

    Permalink
  8. final case class FloatArray(array: Array[Float], offset: Int, length: Int) extends Arr[Float] with ChunkIterator[Float] with Product with Serializable

    Permalink
  9. class GenericCanBuildFrom[A] extends CanBuildFrom[CC[_], A, CC[A]]

    Permalink
    Definition Classes
    GenTraversableFactory
  10. final case class IntArray(array: Array[Int], offset: Int, length: Int) extends Arr[Int] with ChunkIterator[Int] with Product with Serializable

    Permalink
  11. final case class LongArray(array: Array[Long], offset: Int, length: Int) extends Arr[Long] with ChunkIterator[Long] with Product with Serializable

    Permalink
  12. final case class ShortArray(array: Array[Short], offset: Int, length: Int) extends Arr[Short] with ChunkIterator[Short] with Product with Serializable

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object ChunkIterator

    Permalink
  5. def ReusableCBF: GenericCanBuildFrom[Nothing]

    Permalink
    Definition Classes
    IndexedSeqFactory → GenTraversableFactory
  6. def apply[A](as: A*): Chunk[A]

    Permalink

    Returns a chunk from a number of values.

    Returns a chunk from a number of values.

    Definition Classes
    Chunk → GenericCompanion
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def concat[A](xss: Traversable[A]*): Chunk[A]

    Permalink
    Definition Classes
    GenTraversableFactory
  10. def empty[A]: Chunk[A]

    Permalink
    Definition Classes
    GenericCompanion
  11. val empty: Chunk[Nothing]

    Permalink

    Returns the empty chunk.

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def fill[A](n: Int)(elem: ⇒ A): Chunk[A]

    Permalink
    Definition Classes
    Chunk → GenTraversableFactory
  15. def fill[A](n1: Int, n2: Int, n3: Int, n4: Int, n5: Int)(elem: ⇒ A): Chunk[Chunk[Chunk[Chunk[Chunk[A]]]]]

    Permalink
    Definition Classes
    GenTraversableFactory
  16. def fill[A](n1: Int, n2: Int, n3: Int, n4: Int)(elem: ⇒ A): Chunk[Chunk[Chunk[Chunk[A]]]]

    Permalink
    Definition Classes
    GenTraversableFactory
  17. def fill[A](n1: Int, n2: Int, n3: Int)(elem: ⇒ A): Chunk[Chunk[Chunk[A]]]

    Permalink
    Definition Classes
    GenTraversableFactory
  18. def fill[A](n1: Int, n2: Int)(elem: ⇒ A): Chunk[Chunk[A]]

    Permalink
    Definition Classes
    GenTraversableFactory
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def fromArray[A](array: Array[A]): Chunk[A]

    Permalink

    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.

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

    Returns a chunk backed by an iterable.

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

    Permalink

    Creates a chunk from an iterator.

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

    Permalink

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

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

    Permalink

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

  30. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  33. def iterate[A](start: A, len: Int)(f: (A) ⇒ A): Chunk[A]

    Permalink
    Definition Classes
    GenTraversableFactory
  34. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  35. def newBuilder[A]: ChunkBuilder[A]

    Permalink
    Definition Classes
    ChunkFactory → GenericCompanion
  36. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  38. def range[T](start: T, end: T, step: T)(implicit arg0: Integral[T]): Chunk[T]

    Permalink
    Definition Classes
    GenTraversableFactory
  39. def range[T](start: T, end: T)(implicit arg0: Integral[T]): Chunk[T]

    Permalink
    Definition Classes
    GenTraversableFactory
  40. def single[A](a: A): Chunk[A]

    Permalink

    Returns a singleton chunk, eagerly evaluated.

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

    Permalink

    Alias for Chunk.single.

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

    Permalink
    Definition Classes
    AnyRef
  43. 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]]]]]

    Permalink
    Definition Classes
    GenTraversableFactory
  44. def tabulate[A](n1: Int, n2: Int, n3: Int, n4: Int)(f: (Int, Int, Int, Int) ⇒ A): Chunk[Chunk[Chunk[Chunk[A]]]]

    Permalink
    Definition Classes
    GenTraversableFactory
  45. def tabulate[A](n1: Int, n2: Int, n3: Int)(f: (Int, Int, Int) ⇒ A): Chunk[Chunk[Chunk[A]]]

    Permalink
    Definition Classes
    GenTraversableFactory
  46. def tabulate[A](n1: Int, n2: Int)(f: (Int, Int) ⇒ A): Chunk[Chunk[A]]

    Permalink
    Definition Classes
    GenTraversableFactory
  47. def tabulate[A](n: Int)(f: (Int) ⇒ A): Chunk[A]

    Permalink
    Definition Classes
    GenTraversableFactory
  48. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  49. def unapplySeq[A](x: Chunk[A]): Some[Chunk[A]]

    Permalink
    Definition Classes
    SeqFactory
  50. def unfold[S, A](s: S)(f: (S) ⇒ Option[(A, S)]): Chunk[A]

    Permalink

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

  51. def unfoldZIO[R, E, A, S](s: S)(f: (S) ⇒ ZIO[R, E, Option[(A, S)]])(implicit trace: ZTraceElement): ZIO[R, E, Chunk[A]]

    Permalink

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

  52. val unit: Chunk[Unit]

    Permalink

    The unit chunk

  53. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def unfoldM[R, E, A, S](s: S)(f: (S) ⇒ ZIO[R, E, Option[(A, S)]])(implicit trace: ZTraceElement): ZIO[R, E, Chunk[A]]

    Permalink

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

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use unfoldZIO

Inherited from Serializable

Inherited from Serializable

Inherited from ChunkPlatformSpecific

Inherited from ChunkFactory

Inherited from IndexedSeqFactory[Chunk]

Inherited from SeqFactory[Chunk]

Inherited from TraversableFactory[Chunk]

Inherited from GenericSeqCompanion[Chunk]

Inherited from GenSeqFactory[Chunk]

Inherited from GenTraversableFactory[Chunk]

Inherited from GenericCompanion[Chunk]

Inherited from AnyRef

Inherited from Any

Ungrouped