Packages

c

zio.Chunk

ShortArray

final case class ShortArray(array: Array[Short]) extends Arr[Short] with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShortArray
  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 ShortArray(array: Array[Short])

Type Members

  1. class Elements extends AbstractIterator[A] with BufferedIterator[A] with Serializable
    Attributes
    protected
    Definition Classes
    IndexedSeqLike
    Annotations
    @SerialVersionUID()
  2. type Self = Chunk[Short]
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  3. class WithFilter extends FilterMonadic[A, Repr]
    Definition Classes
    TraversableLike

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ++[A1 >: Short](that: NonEmptyChunk[A1]): NonEmptyChunk[A1]
    Definition Classes
    Chunk
  4. final def ++[A1 >: Short](that: Chunk[A1]): Chunk[A1]

    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 >: Short, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Chunk[Short], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  6. def ++:[B >: Short, That](that: Traversable[B])(implicit bf: CanBuildFrom[Chunk[Short], B, That]): That
    Definition Classes
    TraversableLike
  7. def ++:[B >: Short, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Chunk[Short], B, That]): That
    Definition Classes
    TraversableLike
  8. final def +:[A1 >: Short, That](a1: A1)(implicit bf: CanBuildFrom[Chunk[Short], A1, That]): That
    Definition Classes
    ChunkLike → SeqLike → GenSeqLike
  9. final def :+[A1 >: Short, That](a1: A1)(implicit bf: CanBuildFrom[Chunk[Short], A1, That]): That
    Definition Classes
    ChunkLike → SeqLike → GenSeqLike
  10. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def addString(b: StringBuilder): StringBuilder
    Definition Classes
    TraversableOnce
  12. def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    TraversableOnce
  13. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    TraversableOnce
  14. def aggregate[B](z: ⇒ B)(seqop: (B, Short) ⇒ B, combop: (B, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  15. def andThen[C](k: (Short) ⇒ C): PartialFunction[Int, C]
    Definition Classes
    PartialFunction → Function1
  16. def append[A1 >: Short](a1: A1): Chunk[A1]

    Appends an element to the chunk.

    Appends an element to the chunk.

    Attributes
    protected
    Definition Classes
    Chunk
  17. def apply(n: Int): Short
    Definition Classes
    Arr → SeqLike → GenSeqLike → Function1
  18. def applyOrElse[A1 <: Int, B1 >: Short](x: A1, default: (A1) ⇒ B1): B1
    Definition Classes
    PartialFunction
  19. val array: Array[Short]
    Definition Classes
    ShortArray → Arr
  20. final def asBits(implicit ev: <:<[Short, Byte]): Chunk[Boolean]

    Converts a chunk of bytes to a chunk of bits.

    Converts a chunk of bytes to a chunk of bits.

    Definition Classes
    Chunk
  21. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  22. def boolean(index: Int)(implicit ev: <:<[Short, Boolean]): Boolean

    Get the element at the specified index.

    Get the element at the specified index.

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

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  24. def canEqual(that: Any): Boolean
    Definition Classes
    IterableLike → Equals
  25. def char(index: Int)(implicit ev: <:<[Short, Char]): Char

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  26. implicit val classTag: ClassTag[Short]
    Definition Classes
    Arr
  27. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  28. final def collect[B, That](pf: PartialFunction[Short, B])(implicit bf: CanBuildFrom[Chunk[Short], B, That]): That

    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
  29. def collectChunk[B](pf: PartialFunction[Short, B]): Chunk[B]

    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
  30. def collectFirst[B](pf: PartialFunction[Short, B]): Option[B]
    Definition Classes
    TraversableOnce
  31. def collectM[R, E, B](pf: PartialFunction[Short, ZIO[R, E, B]]): ZIO[R, E, Chunk[B]]

    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
  32. def collectWhile[B](pf: PartialFunction[Short, B]): Chunk[B]

    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
  33. def collectWhileM[R, E, B](pf: PartialFunction[Short, ZIO[R, E, B]]): ZIO[R, E, Chunk[B]]
    Definition Classes
    Arr → Chunk
  34. def combinations(n: Int): Iterator[Chunk[Short]]
    Definition Classes
    SeqLike
  35. def companion: GenericCompanion[Chunk]
    Definition Classes
    ChunkLike → IndexedSeq → IndexedSeq → Seq → Seq → GenSeq → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
  36. def compose[A](g: (A) ⇒ Int): (A) ⇒ Short
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  37. def contains[A1 >: Short](elem: A1): Boolean
    Definition Classes
    SeqLike
  38. def containsSlice[B](that: GenSeq[B]): Boolean
    Definition Classes
    SeqLike
  39. def copyToArray[B >: Short](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  40. def copyToArray[B >: Short](xs: Array[B]): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  41. def copyToArray[B >: Short](xs: Array[B], start: Int): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  42. def copyToBuffer[B >: Short](dest: Buffer[B]): Unit
    Definition Classes
    TraversableOnce
  43. final def corresponds[B](that: Chunk[B])(f: (Short, B) ⇒ Boolean): Boolean

    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
  44. def corresponds[B](that: GenSeq[B])(p: (Short, B) ⇒ Boolean): Boolean
    Definition Classes
    SeqLike → GenSeqLike
  45. def count(p: (Short) ⇒ Boolean): Int
    Definition Classes
    TraversableOnce → GenTraversableOnce
  46. def depth: Int
    Attributes
    protected
    Definition Classes
    Chunk
  47. def diff[B >: Short](that: GenSeq[B]): Chunk[Short]
    Definition Classes
    SeqLike → GenSeqLike
  48. def distinct: Chunk[Short]
    Definition Classes
    SeqLike → GenSeqLike
  49. def double(index: Int)(implicit ev: <:<[Short, Double]): Double

    Get the element at the specified index.

    Get the element at the specified index.

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

    Drops the first n elements of the chunk.

    Drops the first n elements of the chunk.

    Definition Classes
    Chunk → IterableLike → TraversableLike → GenTraversableLike
  51. def dropRight(n: Int): Chunk[Short]
    Definition Classes
    IterableLike
  52. def dropWhile(f: (Short) ⇒ Boolean): Chunk[Short]

    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
  53. def dropWhileM[R, E](p: (Short) ⇒ ZIO[R, E, Boolean]): ZIO[R, E, Chunk[Short]]
    Definition Classes
    Chunk
  54. def endsWith[B](that: GenSeq[B]): Boolean
    Definition Classes
    SeqLike → GenSeqLike
  55. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  56. final def equals(that: Any): Boolean
    Definition Classes
    Chunk → GenSeqLike → Equals → AnyRef → Any
  57. final def exists(f: (Short) ⇒ Boolean): Boolean

    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
  58. def filter(f: (Short) ⇒ Boolean): Chunk[Short]

    Returns a filtered subset of this chunk.

    Returns a filtered subset of this chunk.

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

    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
  60. def filterNot(p: (Short) ⇒ Boolean): Chunk[Short]
    Definition Classes
    TraversableLike → GenTraversableLike
  61. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  62. final def find(f: (Short) ⇒ Boolean): Option[Short]

    Returns the first element that satisfies the predicate.

    Returns the first element that satisfies the predicate.

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

    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
  64. final def flatMapChunk[B, That](f: (Short) ⇒ GenTraversableOnce[B]): Chunk[B]

    The implementation of flatMap for Chunk.

    The implementation of flatMap for Chunk.

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

    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
  66. def flatten[B](implicit asTraversable: (Short) ⇒ GenTraversableOnce[B]): Chunk[B]
    Definition Classes
    GenericTraversableTemplate
  67. def float(index: Int)(implicit ev: <:<[Short, Float]): Float

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  68. def fold[A1 >: Short](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  69. def foldLeft[S](s0: S)(f: (S, Short) ⇒ S): S

    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
  70. final def foldM[R, E, S](s: S)(f: (S, Short) ⇒ ZIO[R, E, S]): ZIO[R, E, S]

    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
  71. def foldRight[S](s0: S)(f: (Short, S) ⇒ S): S

    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
  72. final def foldWhile[S](s0: S)(pred: (S) ⇒ Boolean)(f: (S, Short) ⇒ S): S

    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
  73. final def foldWhileM[R, E, S](z: S)(pred: (S) ⇒ Boolean)(f: (S, Short) ⇒ ZIO[R, E, S]): ZIO[R, E, S]
    Definition Classes
    Chunk
  74. final def forall(f: (Short) ⇒ Boolean): Boolean

    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
  75. def foreach[B](f: (Short) ⇒ B): Unit
    Definition Classes
    Arr → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  76. def genericBuilder[B]: Builder[B, Chunk[B]]
    Definition Classes
    GenericTraversableTemplate
  77. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  78. def groupBy[K](f: (Short) ⇒ K): Map[K, Chunk[Short]]
    Definition Classes
    TraversableLike → GenTraversableLike
  79. def grouped(size: Int): Iterator[Chunk[Short]]
    Definition Classes
    IterableLike
  80. def hasDefiniteSize: Boolean
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  81. final def hashCode(): Int
    Definition Classes
    Chunk → IndexedSeqLike → GenSeqLike → AnyRef → Any
  82. def head: Short
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  83. final def headOption: Option[Short]

    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
  84. def indexOf[B >: Short](elem: B, from: Int): Int
    Definition Classes
    GenSeqLike
  85. def indexOf[B >: Short](elem: B): Int
    Definition Classes
    GenSeqLike
  86. def indexOfSlice[B >: Short](that: GenSeq[B], from: Int): Int
    Definition Classes
    SeqLike
  87. def indexOfSlice[B >: Short](that: GenSeq[B]): Int
    Definition Classes
    SeqLike
  88. final def indexWhere(f: (Short) ⇒ Boolean, from: Int): Int

    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
  89. final def indexWhere(f: (Short) ⇒ Boolean): Int

    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
  90. def indices: Range
    Definition Classes
    SeqLike
  91. def init: Chunk[Short]
    Definition Classes
    TraversableLike → GenTraversableLike
  92. def inits: Iterator[Chunk[Short]]
    Definition Classes
    TraversableLike
  93. def int(index: Int)(implicit ev: <:<[Short, Int]): Int

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  94. def intersect[B >: Short](that: GenSeq[B]): Chunk[Short]
    Definition Classes
    SeqLike → GenSeqLike
  95. def isDefinedAt(idx: Int): Boolean
    Definition Classes
    GenSeqLike
  96. final def isEmpty: Boolean

    Determines if the chunk is empty.

    Determines if the chunk is empty.

    Definition Classes
    Chunk → SeqLike → IterableLike → GenericTraversableTemplate → TraversableLike → TraversableOnce → GenTraversableOnce
  97. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  98. final def isTraversableAgain: Boolean
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  99. def iterator: Iterator[Short]
    Definition Classes
    IndexedSeqLike → IterableLike → GenIterableLike
  100. def last: Short
    Definition Classes
    TraversableLike → GenTraversableLike
  101. def lastIndexOf[B >: Short](elem: B, end: Int): Int
    Definition Classes
    GenSeqLike
  102. def lastIndexOf[B >: Short](elem: B): Int
    Definition Classes
    GenSeqLike
  103. def lastIndexOfSlice[B >: Short](that: GenSeq[B], end: Int): Int
    Definition Classes
    SeqLike
  104. def lastIndexOfSlice[B >: Short](that: GenSeq[B]): Int
    Definition Classes
    SeqLike
  105. def lastIndexWhere(p: (Short) ⇒ Boolean, end: Int): Int
    Definition Classes
    SeqLike → GenSeqLike
  106. def lastIndexWhere(p: (Short) ⇒ Boolean): Int
    Definition Classes
    GenSeqLike
  107. final def lastOption: Option[Short]

    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
  108. def left: Chunk[Short]
    Attributes
    protected
    Definition Classes
    Chunk
  109. val length: Int
    Definition Classes
    Arr → SeqLike → GenSeqLike
  110. def lengthCompare(len: Int): Int
    Definition Classes
    SeqLike
  111. def lift: (Int) ⇒ Option[Short]
    Definition Classes
    PartialFunction
  112. def long(index: Int)(implicit ev: <:<[Short, Long]): Long

    Get the element at the specified index.

    Get the element at the specified index.

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

    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
  114. final def mapAccum[S1, B](s1: S1)(f1: (S1, Short) ⇒ (S1, B)): (S1, Chunk[B])

    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
  115. final def mapAccumM[R, E, S1, B](s1: S1)(f1: (S1, Short) ⇒ ZIO[R, E, (S1, B)]): ZIO[R, E, (S1, Chunk[B])]

    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
  116. def mapChunk[B](f: (Short) ⇒ B): Chunk[B]

    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
  117. final def mapM[R, E, B](f: (Short) ⇒ ZIO[R, E, B]): ZIO[R, E, Chunk[B]]

    Effectfully maps the elements of this chunk.

    Effectfully maps the elements of this chunk.

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

    Effectfully maps the elements of this chunk in parallel.

    Effectfully maps the elements of this chunk in parallel.

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

    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
  120. final def mapM_[R, E](f: (Short) ⇒ ZIO[R, E, Any]): ZIO[R, E, Unit]

    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
  121. def materialize[A1 >: Short]: Chunk[A1]

    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
  122. def max[B >: Short](implicit cmp: Ordering[B]): Short
    Definition Classes
    TraversableOnce → GenTraversableOnce
  123. def maxBy[B](f: (Short) ⇒ B)(implicit cmp: Ordering[B]): Short
    Definition Classes
    TraversableOnce → GenTraversableOnce
  124. def min[B >: Short](implicit cmp: Ordering[B]): Short
    Definition Classes
    TraversableOnce → GenTraversableOnce
  125. def minBy[B](f: (Short) ⇒ B)(implicit cmp: Ordering[B]): Short
    Definition Classes
    TraversableOnce → GenTraversableOnce
  126. final def mkString: String

    Generates a readable string representation of this chunk.

    Generates a readable string representation of this chunk.

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

    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
  128. final def mkString(start: String, sep: String, end: String): String

    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
  129. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  130. def newBuilder: ChunkBuilder[Short]

    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
  131. final def nonEmpty: Boolean

    Determines if the chunk is not empty.

    Determines if the chunk is not empty.

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

    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
  133. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  134. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  135. def orElse[A1 <: Int, B1 >: Short](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  136. def padTo[B >: Short, That](len: Int, elem: B)(implicit bf: CanBuildFrom[Chunk[Short], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  137. def par: ParSeq[Short]
    Definition Classes
    Parallelizable
  138. def parCombiner: Combiner[Short, ParSeq[Short]]
    Attributes
    protected[this]
    Definition Classes
    Seq → SeqLike → Iterable → TraversableLike → Parallelizable
  139. def partition(p: (Short) ⇒ Boolean): (Chunk[Short], Chunk[Short])
    Definition Classes
    TraversableLike → GenTraversableLike
  140. final def partitionMap[B, C](f: (Short) ⇒ Either[B, C]): (Chunk[B], Chunk[C])

    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
  141. def patch[B >: Short, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[Chunk[Short], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  142. def permutations: Iterator[Chunk[Short]]
    Definition Classes
    SeqLike
  143. def prefixLength(p: (Short) ⇒ Boolean): Int
    Definition Classes
    GenSeqLike
  144. def prepend[A1 >: Short](a1: A1): Chunk[A1]

    Prepends an element to the chunk.

    Prepends an element to the chunk.

    Attributes
    protected
    Definition Classes
    Chunk
  145. def product[B >: Short](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  146. def reduce[A1 >: Short](op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  147. def reduceLeft[B >: Short](op: (B, Short) ⇒ B): B
    Definition Classes
    TraversableOnce
  148. def reduceLeftOption[B >: Short](op: (B, Short) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  149. def reduceOption[A1 >: Short](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  150. def reduceRight[B >: Short](op: (Short, B) ⇒ B): B
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  151. def reduceRightOption[B >: Short](op: (Short, B) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  152. def repr: Chunk[Short]
    Definition Classes
    TraversableLike → GenTraversableLike
  153. def reverse: Chunk[Short]
    Definition Classes
    SeqLike → GenSeqLike
  154. def reverseIterator: Iterator[Short]
    Definition Classes
    SeqLike
  155. def reverseMap[B, That](f: (Short) ⇒ B)(implicit bf: CanBuildFrom[Chunk[Short], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  156. def reversed: List[Short]
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  157. def right: Chunk[Short]
    Attributes
    protected
    Definition Classes
    Chunk
  158. def runWith[U](action: (Short) ⇒ U): (Int) ⇒ Boolean
    Definition Classes
    PartialFunction
  159. def sameElements[B >: Short](that: GenIterable[B]): Boolean
    Definition Classes
    IterableLike → GenIterableLike
  160. def scan[B >: Short, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Chunk[Short], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  161. def scanLeft[B, That](z: B)(op: (B, Short) ⇒ B)(implicit bf: CanBuildFrom[Chunk[Short], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  162. def scanRight[B, That](z: B)(op: (Short, B) ⇒ B)(implicit bf: CanBuildFrom[Chunk[Short], B, That]): That
    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.

  163. def segmentLength(p: (Short) ⇒ Boolean, from: Int): Int
    Definition Classes
    SeqLike → GenSeqLike
  164. def seq: IndexedSeq[Short]
    Definition Classes
    IndexedSeq → IndexedSeq → IndexedSeqLike → Seq → Seq → GenSeq → GenSeqLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  165. def short(index: Int)(implicit ev: <:<[Short, Short]): Short

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    ShortArrayChunk
  166. final def size: Int

    The number of elements in the chunk.

    The number of elements in the chunk.

    Definition Classes
    ChunkLike → SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
  167. def sizeHintIfCheap: Int
    Attributes
    protected[collection]
    Definition Classes
    IndexedSeqLike → GenTraversableOnce
  168. def slice(from: Int, until: Int): Chunk[Short]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  169. def sliding(size: Int, step: Int): Iterator[Chunk[Short]]
    Definition Classes
    IterableLike
  170. def sliding(size: Int): Iterator[Chunk[Short]]
    Definition Classes
    IterableLike
  171. def sortBy[B](f: (Short) ⇒ B)(implicit ord: Ordering[B]): Chunk[Short]
    Definition Classes
    SeqLike
  172. def sortWith(lt: (Short, Short) ⇒ Boolean): Chunk[Short]
    Definition Classes
    SeqLike
  173. def sorted[B >: Short](implicit ord: Ordering[B]): Chunk[Short]
    Definition Classes
    SeqLike
  174. def span(p: (Short) ⇒ Boolean): (Chunk[Short], Chunk[Short])
    Definition Classes
    TraversableLike → GenTraversableLike
  175. final def splitAt(n: Int): (Chunk[Short], Chunk[Short])

    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
  176. final def splitWhere(f: (Short) ⇒ Boolean): (Chunk[Short], Chunk[Short])

    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
  177. def startsWith[B](that: GenSeq[B], offset: Int): Boolean
    Definition Classes
    SeqLike → GenSeqLike
  178. def startsWith[B](that: GenSeq[B]): Boolean
    Definition Classes
    GenSeqLike
  179. def stringPrefix: String
    Definition Classes
    TraversableLike → GenTraversableLike
  180. def sum[B >: Short](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  181. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  182. def tail: Chunk[Short]
    Definition Classes
    TraversableLike → GenTraversableLike
  183. def tails: Iterator[Chunk[Short]]
    Definition Classes
    TraversableLike
  184. def take(n: Int): Chunk[Short]

    Takes the first n elements of the chunk.

    Takes the first n elements of the chunk.

    Definition Classes
    Chunk → IterableLike → TraversableLike → GenTraversableLike
  185. def takeRight(n: Int): Chunk[Short]
    Definition Classes
    IterableLike
  186. def takeWhile(f: (Short) ⇒ Boolean): Chunk[Short]

    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
  187. def takeWhileM[R, E](p: (Short) ⇒ ZIO[R, E, Boolean]): ZIO[R, E, Chunk[Short]]

    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
  188. def thisCollection: IndexedSeq[Short]
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  189. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Short, Col[Short]]): Col[Short]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  190. def toArray[A1 >: Short](n: Int, dest: Array[A1]): Unit
    Attributes
    protected[zio]
    Definition Classes
    Arr → Chunk
  191. def toArray[A1 >: Short](implicit arg0: ClassTag[A1]): Array[A1]

    Converts the chunk into an array.

    Converts the chunk into an array.

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

    Renders this chunk of bits as a binary string.

    Renders this chunk of bits as a binary string.

    Definition Classes
    Chunk
  193. def toBuffer[A1 >: Short]: Buffer[A1]
    Definition Classes
    IndexedSeqLike → TraversableOnce → GenTraversableOnce
  194. def toCollection(repr: Chunk[Short]): IndexedSeq[Short]
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  195. def toIndexedSeq: IndexedSeq[Short]
    Definition Classes
    IndexedSeq → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  196. def toIterable: Iterable[Short]
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  197. def toIterator: Iterator[Short]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  198. final def toList: List[Short]
    Definition Classes
    Chunk → TraversableOnce → GenTraversableOnce
  199. def toMap[T, U](implicit ev: <:<[Short, (T, U)]): Map[T, U]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  200. def toSeq: Seq[Short]
    Definition Classes
    Seq → SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
  201. def toSet[B >: Short]: Set[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  202. def toStream: Stream[Short]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  203. final def toString(): String
    Definition Classes
    Chunk → SeqLike → Function1 → TraversableLike → AnyRef → Any
  204. def toTraversable: Traversable[Short]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  205. final def toVector: Vector[Short]
    Definition Classes
    Chunk → TraversableOnce → GenTraversableOnce
  206. def transpose[B](implicit asTraversable: (Short) ⇒ GenTraversableOnce[B]): Chunk[Chunk[B]]
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

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

  207. def union[B >: Short, That](that: GenSeq[B])(implicit bf: CanBuildFrom[Chunk[Short], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  208. def unzip[A1, A2](implicit asPair: (Short) ⇒ (A1, A2)): (Chunk[A1], Chunk[A2])
    Definition Classes
    GenericTraversableTemplate
  209. def unzip3[A1, A2, A3](implicit asTriple: (Short) ⇒ (A1, A2, A3)): (Chunk[A1], Chunk[A2], Chunk[A3])
    Definition Classes
    GenericTraversableTemplate
  210. def updated[B >: Short, That](index: Int, elem: B)(implicit bf: CanBuildFrom[Chunk[Short], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  211. def view(from: Int, until: Int): SeqView[Short, Chunk[Short]]
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  212. def view: SeqView[Short, Chunk[Short]]
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  213. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  214. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  215. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  216. def withFilter(p: (Short) ⇒ Boolean): FilterMonadic[Short, Chunk[Short]]
    Definition Classes
    TraversableLike → FilterMonadic
  217. final def zip[B](that: Chunk[B]): Chunk[(Short, B)]

    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
  218. def zip[A1 >: Short, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Chunk[Short], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  219. final def zipAll[B](that: Chunk[B]): Chunk[(Option[Short], Option[B])]

    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
  220. def zipAll[B, A1 >: Short, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Chunk[Short], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  221. final def zipAllWith[B, C](that: Chunk[B])(left: (Short) ⇒ C, right: (B) ⇒ C)(both: (Short, B) ⇒ C): Chunk[C]

    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
  222. final def zipWith[B, C](that: Chunk[B])(f: (Short, B) ⇒ C): Chunk[C]

    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
  223. final def zipWithIndex: Chunk[(Short, Int)]

    Zips this chunk with the index of every element.

    Zips this chunk with the index of every element.

    Definition Classes
    ChunkLike
  224. def zipWithIndex[A1 >: Short, That](implicit bf: CanBuildFrom[Chunk[Short], (A1, Int), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  225. final def zipWithIndexFrom(indexOffset: Int): Chunk[(Short, Int)]

    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 >: Short](a: A1): Chunk[A1]

    Appends an element to the chunk

    Appends an element to the chunk

    Definition Classes
    Chunk
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use :+

  2. def /:[B](z: B)(op: (B, Short) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.10) Use foldLeft instead of /:

  3. def :\[B](z: B)(op: (Short, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.10) Use foldRight instead of :\

Inherited from Product

Inherited from Arr[Short]

Inherited from Serializable

Inherited from Serializable

Inherited from Chunk[Short]

Inherited from ChunkLike[Short]

Inherited from IndexedSeq[Short]

Inherited from IndexedSeq[Short]

Inherited from IndexedSeqLike[Short, Chunk[Short]]

Inherited from Seq[Short]

Inherited from Seq[Short]

Inherited from SeqLike[Short, Chunk[Short]]

Inherited from GenSeq[Short]

Inherited from GenSeqLike[Short, Chunk[Short]]

Inherited from PartialFunction[Int, Short]

Inherited from (Int) ⇒ Short

Inherited from Iterable[Short]

Inherited from Iterable[Short]

Inherited from IterableLike[Short, Chunk[Short]]

Inherited from Equals

Inherited from GenIterable[Short]

Inherited from GenIterableLike[Short, Chunk[Short]]

Inherited from Traversable[Short]

Inherited from Immutable

Inherited from Traversable[Short]

Inherited from GenTraversable[Short]

Inherited from TraversableLike[Short, Chunk[Short]]

Inherited from GenTraversableLike[Short, Chunk[Short]]

Inherited from Parallelizable[Short, ParSeq[Short]]

Inherited from TraversableOnce[Short]

Inherited from GenTraversableOnce[Short]

Inherited from FilterMonadic[Short, Chunk[Short]]

Inherited from HasNewBuilder[Short, Chunk[Short]]

Inherited from AnyRef

Inherited from Any

Ungrouped