Class

zio.Chunk

IntArray

Related Doc: package Chunk

Permalink

final case class IntArray(array: Array[Int]) extends Arr[Int] with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IntArray
  2. Product
  3. Arr
  4. Serializable
  5. Serializable
  6. Chunk
  7. ChunkLike
  8. IndexedSeq
  9. IndexedSeq
  10. IndexedSeqLike
  11. Seq
  12. Seq
  13. SeqLike
  14. GenSeq
  15. GenSeqLike
  16. PartialFunction
  17. Function1
  18. Iterable
  19. Iterable
  20. IterableLike
  21. Equals
  22. GenIterable
  23. GenIterableLike
  24. Traversable
  25. Immutable
  26. Traversable
  27. GenTraversable
  28. GenericTraversableTemplate
  29. TraversableLike
  30. GenTraversableLike
  31. Parallelizable
  32. TraversableOnce
  33. GenTraversableOnce
  34. FilterMonadic
  35. HasNewBuilder
  36. AnyRef
  37. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IntArray(array: Array[Int])

    Permalink

Type Members

  1. class Elements extends AbstractIterator[A] with BufferedIterator[A] with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    IndexedSeqLike
    Annotations
    @SerialVersionUID()
  2. type Self = Chunk[Int]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  3. class WithFilter extends FilterMonadic[A, Repr]

    Permalink
    Definition Classes
    TraversableLike

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 ++[A1 >: Int](that: NonEmptyChunk[A1]): NonEmptyChunk[A1]

    Permalink
    Definition Classes
    Chunk
  4. final def ++[A1 >: Int](that: Chunk[A1]): Chunk[A1]

    Permalink

    Returns the concatenation of this chunk with the specified chunk.

    Returns the concatenation of this chunk with the specified chunk.

    Definition Classes
    Chunk
  5. def ++[B >: Int, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Chunk[Int], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  6. def ++:[B >: Int, That](that: Traversable[B])(implicit bf: CanBuildFrom[Chunk[Int], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  7. def ++:[B >: Int, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Chunk[Int], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  8. final def +:[A1 >: Int, That](a1: A1)(implicit bf: CanBuildFrom[Chunk[Int], A1, That]): That

    Permalink
    Definition Classes
    ChunkLike → SeqLike → GenSeqLike
  9. def /:[B](z: B)(op: (B, Int) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  10. final def :+[A1 >: Int, That](a1: A1)(implicit bf: CanBuildFrom[Chunk[Int], A1, That]): That

    Permalink
    Definition Classes
    ChunkLike → SeqLike → GenSeqLike
  11. def :\[B](z: B)(op: (Int, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  12. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def addString(b: StringBuilder): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  14. def addString(b: StringBuilder, sep: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  15. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  16. def aggregate[B](z: ⇒ B)(seqop: (B, Int) ⇒ B, combop: (B, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  17. def andThen[C](k: (Int) ⇒ C): PartialFunction[Int, C]

    Permalink
    Definition Classes
    PartialFunction → Function1
  18. def append[A1 >: Int](a1: A1): Chunk[A1]

    Permalink

    Appends an element to the chunk.

    Appends an element to the chunk.

    Attributes
    protected
    Definition Classes
    Chunk
  19. def apply(n: Int): Int

    Permalink
    Definition Classes
    Arr → SeqLike → GenSeqLike → Function1
  20. def applyOrElse[A1 <: Int, B1 >: Int](x: A1, default: (A1) ⇒ B1): B1

    Permalink
    Definition Classes
    PartialFunction
  21. val array: Array[Int]

    Permalink
    Definition Classes
    IntArray → Arr
  22. final def asBits(implicit ev: <:<[Int, Byte]): Chunk[Boolean]

    Permalink

    Converts a chunk of bytes to a chunk of bits.

    Converts a chunk of bytes to a chunk of bits.

    Definition Classes
    Chunk
  23. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  24. def boolean(index: Int)(implicit ev: <:<[Int, Boolean]): Boolean

    Permalink

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  25. def byte(index: Int)(implicit ev: <:<[Int, Byte]): Byte

    Permalink

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  26. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    IterableLike → Equals
  27. def char(index: Int)(implicit ev: <:<[Int, Char]): Char

    Permalink

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  28. implicit val classTag: ClassTag[Int]

    Permalink
    Definition Classes
    Arr
  29. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def collect[B, That](pf: PartialFunction[Int, B])(implicit bf: CanBuildFrom[Chunk[Int], B, That]): That

    Permalink

    Returns a filtered, mapped subset of the elements of this chunk.

    Returns a filtered, mapped subset of the elements of this chunk.

    Definition Classes
    ChunkLike → TraversableLike → GenTraversableLike
  31. def collectChunk[B](pf: PartialFunction[Int, B]): Chunk[B]

    Permalink

    Returns a filtered, mapped subset of the elements of this chunk.

    Returns a filtered, mapped subset of the elements of this chunk.

    Attributes
    protected
    Definition Classes
    Arr → Chunk
  32. def collectFirst[B](pf: PartialFunction[Int, B]): Option[B]

    Permalink
    Definition Classes
    TraversableOnce
  33. def collectM[R, E, B](pf: PartialFunction[Int, ZIO[R, E, B]]): ZIO[R, E, Chunk[B]]

    Permalink

    Returns a filtered, mapped subset of the elements of this chunk based on a .

    Returns a filtered, mapped subset of the elements of this chunk based on a .

    Definition Classes
    Arr → Chunk
  34. def collectWhile[B](pf: PartialFunction[Int, B]): Chunk[B]

    Permalink

    Transforms all elements of the chunk for as long as the specified partial function is defined.

    Transforms all elements of the chunk for as long as the specified partial function is defined.

    Definition Classes
    Arr → Chunk
  35. def collectWhileM[R, E, B](pf: PartialFunction[Int, ZIO[R, E, B]]): ZIO[R, E, Chunk[B]]

    Permalink
    Definition Classes
    Arr → Chunk
  36. def combinations(n: Int): Iterator[Chunk[Int]]

    Permalink
    Definition Classes
    SeqLike
  37. def companion: GenericCompanion[Chunk]

    Permalink
    Definition Classes
    ChunkLike → IndexedSeq → IndexedSeq → Seq → Seq → GenSeq → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
  38. def compose[A](g: (A) ⇒ Int): (A) ⇒ Int

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  39. def contains[A1 >: Int](elem: A1): Boolean

    Permalink
    Definition Classes
    SeqLike
  40. def containsSlice[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    SeqLike
  41. def copyToArray[B >: Int](xs: Array[B], start: Int, len: Int): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  42. def copyToArray[B >: Int](xs: Array[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  43. def copyToArray[B >: Int](xs: Array[B], start: Int): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  44. def copyToBuffer[B >: Int](dest: Buffer[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce
  45. final def corresponds[B](that: Chunk[B])(f: (Int, B) ⇒ Boolean): Boolean

    Permalink

    Determines whether this chunk and the specified chunk have the same length and every pair of corresponding elements of this chunk and the specified chunk satisfy the specified predicate.

    Determines whether this chunk and the specified chunk have the same length and every pair of corresponding elements of this chunk and the specified chunk satisfy the specified predicate.

    Definition Classes
    Chunk
  46. def corresponds[B](that: GenSeq[B])(p: (Int, B) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  47. def count(p: (Int) ⇒ Boolean): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  48. def depth: Int

    Permalink
    Attributes
    protected
    Definition Classes
    Chunk
  49. def diff[B >: Int](that: GenSeq[B]): Chunk[Int]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  50. def distinct: Chunk[Int]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  51. def double(index: Int)(implicit ev: <:<[Int, Double]): Double

    Permalink

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  52. def drop(n: Int): Chunk[Int]

    Permalink

    Drops the first n elements of the chunk.

    Drops the first n elements of the chunk.

    Definition Classes
    Chunk → IterableLike → TraversableLike → GenTraversableLike
  53. def dropRight(n: Int): Chunk[Int]

    Permalink
    Definition Classes
    IterableLike
  54. def dropWhile(f: (Int) ⇒ Boolean): Chunk[Int]

    Permalink

    Drops all elements so long as the predicate returns true.

    Drops all elements so long as the predicate returns true.

    Definition Classes
    Arr → Chunk → TraversableLike → GenTraversableLike
  55. def dropWhileM[R, E](p: (Int) ⇒ ZIO[R, E, Boolean]): ZIO[R, E, Chunk[Int]]

    Permalink
    Definition Classes
    Chunk
  56. def endsWith[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  57. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  58. final def equals(that: Any): Boolean

    Permalink
    Definition Classes
    Chunk → GenSeqLike → Equals → AnyRef → Any
  59. final def exists(f: (Int) ⇒ Boolean): Boolean

    Permalink

    Determines whether a predicate is satisfied for at least one element of this chunk.

    Determines whether a predicate is satisfied for at least one element of this chunk.

    Definition Classes
    Chunk → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  60. def filter(f: (Int) ⇒ Boolean): Chunk[Int]

    Permalink

    Returns a filtered subset of this chunk.

    Returns a filtered subset of this chunk.

    Definition Classes
    Arr → Chunk → TraversableLike → GenTraversableLike
  61. final def filterM[R, E](f: (Int) ⇒ ZIO[R, E, Boolean]): ZIO[R, E, Chunk[Int]]

    Permalink

    Filters this chunk by the specified effectful predicate, retaining all elements for which the predicate evaluates to true.

    Filters this chunk by the specified effectful predicate, retaining all elements for which the predicate evaluates to true.

    Definition Classes
    Chunk
  62. def filterNot(p: (Int) ⇒ Boolean): Chunk[Int]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  63. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  64. final def find(f: (Int) ⇒ Boolean): Option[Int]

    Permalink

    Returns the first element that satisfies the predicate.

    Returns the first element that satisfies the predicate.

    Definition Classes
    Chunk → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  65. final def flatMap[B, That](f: (Int) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Chunk[Int], B, That]): That

    Permalink

    Returns the concatenation of mapping every element into a new chunk using the specified function.

    Returns the concatenation of mapping every element into a new chunk using the specified function.

    Definition Classes
    ChunkLike → TraversableLike → GenTraversableLike → FilterMonadic
  66. final def flatMapChunk[B, That](f: (Int) ⇒ GenTraversableOnce[B]): Chunk[B]

    Permalink

    The implementation of flatMap for Chunk.

    The implementation of flatMap for Chunk.

    Attributes
    protected
    Definition Classes
    ChunkLike
  67. final def flatten[B](implicit ev: <:<[Int, Chunk[B]]): Chunk[B]

    Permalink

    Flattens a chunk of chunks into a single chunk by concatenating all chunks.

    Flattens a chunk of chunks into a single chunk by concatenating all chunks.

    Definition Classes
    Chunk
  68. def flatten[B](implicit asTraversable: (Int) ⇒ GenTraversableOnce[B]): Chunk[B]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  69. def float(index: Int)(implicit ev: <:<[Int, Float]): Float

    Permalink

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  70. def fold[A1 >: Int](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  71. def foldLeft[S](s0: S)(f: (S, Int) ⇒ S): S

    Permalink

    Folds over the elements in this chunk from the left.

    Folds over the elements in this chunk from the left.

    Definition Classes
    Arr → Chunk → TraversableOnce → GenTraversableOnce
  72. final def foldM[R, E, S](s: S)(f: (S, Int) ⇒ ZIO[R, E, S]): ZIO[R, E, S]

    Permalink

    Effectfully folds over the elements in this chunk from the left.

    Effectfully folds over the elements in this chunk from the left.

    Definition Classes
    Chunk
  73. def foldRight[S](s0: S)(f: (Int, S) ⇒ S): S

    Permalink

    Folds over the elements in this chunk from the right.

    Folds over the elements in this chunk from the right.

    Definition Classes
    Arr → Chunk → IterableLike → TraversableOnce → GenTraversableOnce
  74. final def foldWhile[S](s0: S)(pred: (S) ⇒ Boolean)(f: (S, Int) ⇒ S): S

    Permalink

    Folds over the elements in this chunk from the left.

    Folds over the elements in this chunk from the left. Stops the fold early when the condition is not fulfilled.

    Definition Classes
    Chunk
  75. final def foldWhileM[R, E, S](z: S)(pred: (S) ⇒ Boolean)(f: (S, Int) ⇒ ZIO[R, E, S]): ZIO[R, E, S]

    Permalink
    Definition Classes
    Chunk
  76. final def forall(f: (Int) ⇒ Boolean): Boolean

    Permalink

    Determines whether a predicate is satisfied for all elements of this chunk.

    Determines whether a predicate is satisfied for all elements of this chunk.

    Definition Classes
    Chunk → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  77. def foreach[B](f: (Int) ⇒ B): Unit

    Permalink
    Definition Classes
    Arr → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  78. def genericBuilder[B]: Builder[B, Chunk[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  79. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  80. def groupBy[K](f: (Int) ⇒ K): Map[K, Chunk[Int]]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  81. def grouped(size: Int): Iterator[Chunk[Int]]

    Permalink
    Definition Classes
    IterableLike
  82. def hasDefiniteSize: Boolean

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  83. final def hashCode(): Int

    Permalink
    Definition Classes
    Chunk → IndexedSeqLike → GenSeqLike → AnyRef → Any
  84. def head: Int

    Permalink

    Returns the first element of this chunk.

    Returns the first element of this chunk. Note that this method is partial in that it will throw an exception if the chunk is empty. Consider using headOption to explicitly handle the possibility that the chunk is empty or iterating over the elements of the chunk in lower level, performance sensitive code unless you really only need the first element of the chunk.

    Definition Classes
    Chunk → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike
  85. final def headOption: Option[Int]

    Permalink

    Returns the first element of this chunk if it exists.

    Returns the first element of this chunk if it exists.

    Definition Classes
    Chunk → TraversableLike → GenTraversableLike
  86. def indexOf[B >: Int](elem: B, from: Int): Int

    Permalink
    Definition Classes
    GenSeqLike
  87. def indexOf[B >: Int](elem: B): Int

    Permalink
    Definition Classes
    GenSeqLike
  88. def indexOfSlice[B >: Int](that: GenSeq[B], from: Int): Int

    Permalink
    Definition Classes
    SeqLike
  89. def indexOfSlice[B >: Int](that: GenSeq[B]): Int

    Permalink
    Definition Classes
    SeqLike
  90. final def indexWhere(f: (Int) ⇒ Boolean, from: Int): Int

    Permalink

    Returns the first index for which the given predicate is satisfied after or at some given index.

    Returns the first index for which the given predicate is satisfied after or at some given index.

    Definition Classes
    Chunk → SeqLike → GenSeqLike
  91. final def indexWhere(f: (Int) ⇒ Boolean): Int

    Permalink

    Returns the first index for which the given predicate is satisfied.

    Returns the first index for which the given predicate is satisfied.

    Definition Classes
    ChunkLike → GenSeqLike
  92. def indices: Range

    Permalink
    Definition Classes
    SeqLike
  93. def init: Chunk[Int]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  94. def inits: Iterator[Chunk[Int]]

    Permalink
    Definition Classes
    TraversableLike
  95. def int(index: Int)(implicit ev: <:<[Int, Int]): Int

    Permalink

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    IntArrayChunk
  96. def intersect[B >: Int](that: GenSeq[B]): Chunk[Int]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  97. def isDefinedAt(idx: Int): Boolean

    Permalink
    Definition Classes
    GenSeqLike
  98. final def isEmpty: Boolean

    Permalink

    Determines if the chunk is empty.

    Determines if the chunk is empty.

    Definition Classes
    Chunk → SeqLike → IterableLike → GenericTraversableTemplate → TraversableLike → TraversableOnce → GenTraversableOnce
  99. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  100. final def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  101. def iterator: Iterator[Int]

    Permalink
    Definition Classes
    IndexedSeqLike → IterableLike → GenIterableLike
  102. def last: Int

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  103. def lastIndexOf[B >: Int](elem: B, end: Int): Int

    Permalink
    Definition Classes
    GenSeqLike
  104. def lastIndexOf[B >: Int](elem: B): Int

    Permalink
    Definition Classes
    GenSeqLike
  105. def lastIndexOfSlice[B >: Int](that: GenSeq[B], end: Int): Int

    Permalink
    Definition Classes
    SeqLike
  106. def lastIndexOfSlice[B >: Int](that: GenSeq[B]): Int

    Permalink
    Definition Classes
    SeqLike
  107. def lastIndexWhere(p: (Int) ⇒ Boolean, end: Int): Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  108. def lastIndexWhere(p: (Int) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  109. final def lastOption: Option[Int]

    Permalink

    Returns the last element of this chunk if it exists.

    Returns the last element of this chunk if it exists.

    Definition Classes
    Chunk → TraversableLike → GenTraversableLike
  110. def left: Chunk[Int]

    Permalink
    Attributes
    protected
    Definition Classes
    Chunk
  111. val length: Int

    Permalink
    Definition Classes
    Arr → SeqLike → GenSeqLike
  112. def lengthCompare(len: Int): Int

    Permalink
    Definition Classes
    SeqLike
  113. def lift: (Int) ⇒ Option[Int]

    Permalink
    Definition Classes
    PartialFunction
  114. def long(index: Int)(implicit ev: <:<[Int, Long]): Long

    Permalink

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  115. final def map[B, That](f: (Int) ⇒ B)(implicit bf: CanBuildFrom[Chunk[Int], B, That]): That

    Permalink

    Returns a chunk with the elements mapped by the specified function.

    Returns a chunk with the elements mapped by the specified function.

    Definition Classes
    ChunkLike → TraversableLike → GenTraversableLike → FilterMonadic
  116. final def mapAccum[S1, B](s1: S1)(f1: (S1, Int) ⇒ (S1, B)): (S1, Chunk[B])

    Permalink

    Statefully maps over the chunk, producing new elements of type B.

    Statefully maps over the chunk, producing new elements of type B.

    Definition Classes
    Chunk
  117. final def mapAccumM[R, E, S1, B](s1: S1)(f1: (S1, Int) ⇒ ZIO[R, E, (S1, B)]): ZIO[R, E, (S1, Chunk[B])]

    Permalink

    Statefully and effectfully maps over the elements of this chunk to produce new elements.

    Statefully and effectfully maps over the elements of this chunk to produce new elements.

    Definition Classes
    Chunk
  118. def mapChunk[B](f: (Int) ⇒ B): Chunk[B]

    Permalink

    Returns a chunk with the elements mapped by the specified function.

    Returns a chunk with the elements mapped by the specified function.

    Attributes
    protected
    Definition Classes
    Arr → Chunk
  119. final def mapM[R, E, B](f: (Int) ⇒ ZIO[R, E, B]): ZIO[R, E, Chunk[B]]

    Permalink

    Effectfully maps the elements of this chunk.

    Effectfully maps the elements of this chunk.

    Definition Classes
    Chunk
  120. final def mapMPar[R, E, B](f: (Int) ⇒ ZIO[R, E, B]): ZIO[R, E, Chunk[B]]

    Permalink

    Effectfully maps the elements of this chunk in parallel.

    Effectfully maps the elements of this chunk in parallel.

    Definition Classes
    Chunk
  121. final def mapMPar_[R, E](f: (Int) ⇒ ZIO[R, E, Any]): ZIO[R, E, Unit]

    Permalink

    Effectfully maps the elements of this chunk in parallel purely for the effects.

    Effectfully maps the elements of this chunk in parallel purely for the effects.

    Definition Classes
    Chunk
  122. final def mapM_[R, E](f: (Int) ⇒ ZIO[R, E, Any]): ZIO[R, E, Unit]

    Permalink

    Effectfully maps the elements of this chunk purely for the effects.

    Effectfully maps the elements of this chunk purely for the effects.

    Definition Classes
    Chunk
  123. def materialize[A1 >: Int]: Chunk[A1]

    Permalink

    Materializes a chunk into a chunk backed by an array.

    Materializes a chunk into a chunk backed by an array. This method can improve the performance of bulk operations.

    Definition Classes
    Arr → Chunk
  124. def max[B >: Int](implicit cmp: Ordering[B]): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  125. def maxBy[B](f: (Int) ⇒ B)(implicit cmp: Ordering[B]): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  126. def min[B >: Int](implicit cmp: Ordering[B]): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  127. def minBy[B](f: (Int) ⇒ B)(implicit cmp: Ordering[B]): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  128. final def mkString: String

    Permalink

    Generates a readable string representation of this chunk.

    Generates a readable string representation of this chunk.

    Definition Classes
    ChunkLike → TraversableOnce → GenTraversableOnce
  129. final def mkString(sep: String): String

    Permalink

    Generates a readable string representation of this chunk using the specified separator string.

    Generates a readable string representation of this chunk using the specified separator string.

    Definition Classes
    ChunkLike → TraversableOnce → GenTraversableOnce
  130. final def mkString(start: String, sep: String, end: String): String

    Permalink

    Generates a readable string representation of this chunk using the specified start, separator, and end strings.

    Generates a readable string representation of this chunk using the specified start, separator, and end strings.

    Definition Classes
    ChunkLike → TraversableOnce → GenTraversableOnce
  131. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  132. def newBuilder: ChunkBuilder[Int]

    Permalink

    Constructs a new ChunkBuilder.

    Constructs a new ChunkBuilder. This operation allocates mutable state and is not referentially transparent. It is provided for compatibility with Scala's collection library and should not be used for other purposes.

    Attributes
    protected[this]
    Definition Classes
    ChunkLike → GenericTraversableTemplate → TraversableLike → HasNewBuilder
  133. final def nonEmpty: Boolean

    Permalink

    Determines if the chunk is not empty.

    Determines if the chunk is not empty.

    Definition Classes
    ChunkLike → TraversableOnce → GenTraversableOnce
  134. def nonEmptyOrElse[B](ifEmpty: ⇒ B)(fn: (NonEmptyChunk[Int]) ⇒ B): B

    Permalink

    Runs fn if a chunk is not empty or returns default value

    Runs fn if a chunk is not empty or returns default value

    Definition Classes
    Chunk
  135. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  137. def orElse[A1 <: Int, B1 >: Int](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Permalink
    Definition Classes
    PartialFunction
  138. def padTo[B >: Int, That](len: Int, elem: B)(implicit bf: CanBuildFrom[Chunk[Int], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  139. def par: ParSeq[Int]

    Permalink
    Definition Classes
    Parallelizable
  140. def parCombiner: Combiner[Int, ParSeq[Int]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Seq → SeqLike → Iterable → TraversableLike → Parallelizable
  141. def partition(p: (Int) ⇒ Boolean): (Chunk[Int], Chunk[Int])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  142. final def partitionMap[B, C](f: (Int) ⇒ Either[B, C]): (Chunk[B], Chunk[C])

    Permalink

    Partitions the elements of this chunk into two chunks using the specified function.

    Partitions the elements of this chunk into two chunks using the specified function.

    Definition Classes
    Chunk → ChunkLike
  143. def patch[B >: Int, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[Chunk[Int], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  144. def permutations: Iterator[Chunk[Int]]

    Permalink
    Definition Classes
    SeqLike
  145. def prefixLength(p: (Int) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  146. def prepend[A1 >: Int](a1: A1): Chunk[A1]

    Permalink

    Prepends an element to the chunk.

    Prepends an element to the chunk.

    Attributes
    protected
    Definition Classes
    Chunk
  147. def product[B >: Int](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  148. def reduce[A1 >: Int](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  149. def reduceLeft[B >: Int](op: (B, Int) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce
  150. def reduceLeftOption[B >: Int](op: (B, Int) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  151. def reduceOption[A1 >: Int](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  152. def reduceRight[B >: Int](op: (Int, B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  153. def reduceRightOption[B >: Int](op: (Int, B) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  154. def repr: Chunk[Int]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  155. def reverse: Chunk[Int]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  156. def reverseIterator: Iterator[Int]

    Permalink
    Definition Classes
    SeqLike
  157. def reverseMap[B, That](f: (Int) ⇒ B)(implicit bf: CanBuildFrom[Chunk[Int], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  158. def reversed: List[Int]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  159. def right: Chunk[Int]

    Permalink
    Attributes
    protected
    Definition Classes
    Chunk
  160. def runWith[U](action: (Int) ⇒ U): (Int) ⇒ Boolean

    Permalink
    Definition Classes
    PartialFunction
  161. def sameElements[B >: Int](that: GenIterable[B]): Boolean

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  162. def scan[B >: Int, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Chunk[Int], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  163. def scanLeft[B, That](z: B)(op: (B, Int) ⇒ B)(implicit bf: CanBuildFrom[Chunk[Int], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  164. def scanRight[B, That](z: B)(op: (Int, B) ⇒ B)(implicit bf: CanBuildFrom[Chunk[Int], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  165. def segmentLength(p: (Int) ⇒ Boolean, from: Int): Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  166. def seq: IndexedSeq[Int]

    Permalink
    Definition Classes
    IndexedSeq → IndexedSeq → IndexedSeqLike → Seq → Seq → GenSeq → GenSeqLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  167. def short(index: Int)(implicit ev: <:<[Int, Short]): Short

    Permalink

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  168. final def size: Int

    Permalink

    The number of elements in the chunk.

    The number of elements in the chunk.

    Definition Classes
    ChunkLike → SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
  169. def slice(from: Int, until: Int): Chunk[Int]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  170. def sliding(size: Int, step: Int): Iterator[Chunk[Int]]

    Permalink
    Definition Classes
    IterableLike
  171. def sliding(size: Int): Iterator[Chunk[Int]]

    Permalink
    Definition Classes
    IterableLike
  172. def sortBy[B](f: (Int) ⇒ B)(implicit ord: Ordering[B]): Chunk[Int]

    Permalink
    Definition Classes
    SeqLike
  173. def sortWith(lt: (Int, Int) ⇒ Boolean): Chunk[Int]

    Permalink
    Definition Classes
    SeqLike
  174. def sorted[B >: Int](implicit ord: Ordering[B]): Chunk[Int]

    Permalink
    Definition Classes
    SeqLike
  175. def span(p: (Int) ⇒ Boolean): (Chunk[Int], Chunk[Int])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  176. final def split(n: Int): Chunk[Chunk[Int]]

    Permalink

    Splits this chunk into n equally sized chunks.

    Splits this chunk into n equally sized chunks.

    Definition Classes
    Chunk
  177. final def splitAt(n: Int): (Chunk[Int], Chunk[Int])

    Permalink

    Returns two splits of this chunk at the specified index.

    Returns two splits of this chunk at the specified index.

    Definition Classes
    Chunk → TraversableLike → GenTraversableLike
  178. final def splitWhere(f: (Int) ⇒ Boolean): (Chunk[Int], Chunk[Int])

    Permalink

    Splits this chunk on the first element that matches this predicate.

    Splits this chunk on the first element that matches this predicate.

    Definition Classes
    Chunk
  179. def startsWith[B](that: GenSeq[B], offset: Int): Boolean

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  180. def startsWith[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    GenSeqLike
  181. def stringPrefix: String

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  182. def sum[B >: Int](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  183. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  184. def tail: Chunk[Int]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  185. def tails: Iterator[Chunk[Int]]

    Permalink
    Definition Classes
    TraversableLike
  186. def take(n: Int): Chunk[Int]

    Permalink

    Takes the first n elements of the chunk.

    Takes the first n elements of the chunk.

    Definition Classes
    Chunk → IterableLike → TraversableLike → GenTraversableLike
  187. def takeRight(n: Int): Chunk[Int]

    Permalink
    Definition Classes
    IterableLike
  188. def takeWhile(f: (Int) ⇒ Boolean): Chunk[Int]

    Permalink

    Takes all elements so long as the predicate returns true.

    Takes all elements so long as the predicate returns true.

    Definition Classes
    Arr → Chunk → IterableLike → TraversableLike → GenTraversableLike
  189. def takeWhileM[R, E](p: (Int) ⇒ ZIO[R, E, Boolean]): ZIO[R, E, Chunk[Int]]

    Permalink

    Takes all elements so long as the effectual predicate returns true.

    Takes all elements so long as the effectual predicate returns true.

    Definition Classes
    Chunk
  190. def thisCollection: IndexedSeq[Int]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  191. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Int, Col[Int]]): Col[Int]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  192. def toArray[A1 >: Int](n: Int, dest: Array[A1]): Unit

    Permalink
    Attributes
    protected[zio]
    Definition Classes
    Arr → Chunk
  193. def toArray[A1 >: Int](implicit arg0: ClassTag[A1]): Array[A1]

    Permalink

    Converts the chunk into an array.

    Converts the chunk into an array.

    Definition Classes
    Chunk → TraversableOnce → GenTraversableOnce
  194. final def toBinaryString(implicit ev: <:<[Int, Boolean]): String

    Permalink

    Renders this chunk of bits as a binary string.

    Renders this chunk of bits as a binary string.

    Definition Classes
    Chunk
  195. def toBuffer[A1 >: Int]: Buffer[A1]

    Permalink
    Definition Classes
    IndexedSeqLike → TraversableOnce → GenTraversableOnce
  196. def toCollection(repr: Chunk[Int]): IndexedSeq[Int]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  197. def toIndexedSeq: IndexedSeq[Int]

    Permalink
    Definition Classes
    IndexedSeq → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  198. def toIterable: Iterable[Int]

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  199. def toIterator: Iterator[Int]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  200. final def toList: List[Int]

    Permalink
    Definition Classes
    Chunk → TraversableOnce → GenTraversableOnce
  201. def toMap[T, U](implicit ev: <:<[Int, (T, U)]): Map[T, U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  202. def toSeq: Seq[Int]

    Permalink
    Definition Classes
    Seq → SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
  203. def toSet[B >: Int]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  204. def toStream: Stream[Int]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  205. final def toString(): String

    Permalink
    Definition Classes
    Chunk → SeqLike → Function1 → TraversableLike → AnyRef → Any
  206. def toTraversable: Traversable[Int]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  207. final def toVector: Vector[Int]

    Permalink
    Definition Classes
    Chunk → TraversableOnce → GenTraversableOnce
  208. def transpose[B](implicit asTraversable: (Int) ⇒ GenTraversableOnce[B]): Chunk[Chunk[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  209. def union[B >: Int, That](that: GenSeq[B])(implicit bf: CanBuildFrom[Chunk[Int], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  210. def unzip[A1, A2](implicit asPair: (Int) ⇒ (A1, A2)): (Chunk[A1], Chunk[A2])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  211. def unzip3[A1, A2, A3](implicit asTriple: (Int) ⇒ (A1, A2, A3)): (Chunk[A1], Chunk[A2], Chunk[A3])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  212. def updated[B >: Int, That](index: Int, elem: B)(implicit bf: CanBuildFrom[Chunk[Int], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  213. def view(from: Int, until: Int): SeqView[Int, Chunk[Int]]

    Permalink
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  214. def view: SeqView[Int, Chunk[Int]]

    Permalink
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  215. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  218. def withFilter(p: (Int) ⇒ Boolean): FilterMonadic[Int, Chunk[Int]]

    Permalink
    Definition Classes
    TraversableLike → FilterMonadic
  219. final def zip[B](that: Chunk[B]): Chunk[(Int, B)]

    Permalink

    Zips this chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk.

    Zips this chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk. The returned chunk will have the length of the shorter chunk.

    Definition Classes
    Chunk
  220. def zip[A1 >: Int, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Chunk[Int], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  221. final def zipAll[B](that: Chunk[B]): Chunk[(Option[Int], Option[B])]

    Permalink

    Zips this chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk, filling in missing values from the shorter chunk with None.

    Zips this chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk, filling in missing values from the shorter chunk with None. The returned chunk will have the length of the longer chunk.

    Definition Classes
    Chunk
  222. def zipAll[B, A1 >: Int, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Chunk[Int], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  223. final def zipAllWith[B, C](that: Chunk[B])(left: (Int) ⇒ C, right: (B) ⇒ C)(both: (Int, B) ⇒ C): Chunk[C]

    Permalink

    Zips with chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk combined using the specified function both.

    Zips with chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk combined using the specified function both. If one chunk is shorter than the other uses the specified function left or right to map the element that does exist to the result type.

    Definition Classes
    Chunk
  224. final def zipWith[B, C](that: Chunk[B])(f: (Int, B) ⇒ C): Chunk[C]

    Permalink

    Zips this chunk with the specified chunk using the specified combiner.

    Zips this chunk with the specified chunk using the specified combiner.

    Definition Classes
    Chunk
  225. final def zipWithIndex: Chunk[(Int, Int)]

    Permalink

    Zips this chunk with the index of every element.

    Zips this chunk with the index of every element.

    Definition Classes
    ChunkLike
  226. def zipWithIndex[A1 >: Int, That](implicit bf: CanBuildFrom[Chunk[Int], (A1, Int), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  227. final def zipWithIndexFrom(indexOffset: Int): Chunk[(Int, Int)]

    Permalink

    Zips this chunk with the index of every element, starting from the initial index value.

    Zips this chunk with the index of every element, starting from the initial index value.

    Definition Classes
    Chunk

Deprecated Value Members

  1. final def +[A1 >: Int](a: A1): Chunk[A1]

    Permalink

    Appends an element to the chunk

    Appends an element to the chunk

    Definition Classes
    Chunk
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use :+

Inherited from Product

Inherited from Arr[Int]

Inherited from Serializable

Inherited from Serializable

Inherited from Chunk[Int]

Inherited from ChunkLike[Int]

Inherited from IndexedSeq[Int]

Inherited from IndexedSeq[Int]

Inherited from IndexedSeqLike[Int, Chunk[Int]]

Inherited from Seq[Int]

Inherited from Seq[Int]

Inherited from SeqLike[Int, Chunk[Int]]

Inherited from GenSeq[Int]

Inherited from GenSeqLike[Int, Chunk[Int]]

Inherited from PartialFunction[Int, Int]

Inherited from (Int) ⇒ Int

Inherited from Iterable[Int]

Inherited from Iterable[Int]

Inherited from IterableLike[Int, Chunk[Int]]

Inherited from Equals

Inherited from GenIterable[Int]

Inherited from GenIterableLike[Int, Chunk[Int]]

Inherited from Traversable[Int]

Inherited from Immutable

Inherited from Traversable[Int]

Inherited from GenTraversable[Int]

Inherited from TraversableLike[Int, Chunk[Int]]

Inherited from GenTraversableLike[Int, Chunk[Int]]

Inherited from Parallelizable[Int, ParSeq[Int]]

Inherited from TraversableOnce[Int]

Inherited from GenTraversableOnce[Int]

Inherited from FilterMonadic[Int, Chunk[Int]]

Inherited from HasNewBuilder[Int, Chunk[Int]]

Inherited from AnyRef

Inherited from Any

Ungrouped