NonEmptyChunk

zio.NonEmptyChunk
See theNonEmptyChunk companion object
final class NonEmptyChunk[+A] extends Serializable

A NonEmptyChunk is a Chunk that is guaranteed to contain at least one element. As a result, operations which would not be safe when performed on Chunk, such as head or reduce, are safe when performed on NonEmptyChunk. Operations on NonEmptyChunk which could potentially return an empty chunk will return a Chunk instead.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Abstract methods

Implicitly added by toChunk

Concrete methods

def &(that: Chunk[Boolean])(implicit ev: A <:< Boolean): BitChunkByte
Implicitly added by toChunk

Returns the bitwise AND of this chunk and the specified chunk.

Returns the bitwise AND of this chunk and the specified chunk.

Attributes

final def ++[A1 >: A](that: Chunk[A1]): Chunk[A1]
Implicitly added by toChunk

Returns the concatenation of this chunk with the specified chunk.

Returns the concatenation of this chunk with the specified chunk.

Attributes

final def ++[A1 >: A](that: NonEmptyChunk[A1]): NonEmptyChunk[A1]
Implicitly added by toChunk

Returns the concatenation of this chunk with the specified chunk.

Returns the concatenation of this chunk with the specified chunk.

Attributes

def ++[A1 >: A](that: Chunk[A1]): NonEmptyChunk[A1]

Appends the specified Chunk to the end of this NonEmptyChunk.

Appends the specified Chunk to the end of this NonEmptyChunk.

Attributes

def +:[A1 >: A](a: A1): NonEmptyChunk[A1]

A symbolic alias for prepended.

A symbolic alias for prepended.

Attributes

def :+[A1 >: A](a: A1): NonEmptyChunk[A1]

A symbolic alias for appended.

A symbolic alias for appended.

Attributes

def ^(that: Chunk[Boolean])(implicit ev: A <:< Boolean): BitChunkByte
Implicitly added by toChunk

Returns the bitwise XOR of this chunk and the specified chunk.

Returns the bitwise XOR of this chunk and the specified chunk.

Attributes

def append[A1 >: A](that: Chunk[A1]): NonEmptyChunk[A1]

A named alias for ++.

A named alias for ++.

Attributes

def appended[A1 >: A](a: A1): NonEmptyChunk[A1]

Appends a single element to the end of this NonEmptyChunk.

Appends a single element to the end of this NonEmptyChunk.

Attributes

def asBits(implicit ev: A <:< Byte): NonEmptyChunk[Boolean]

Converts this NonEmptyChunk of bytes to a NonEmptyChunk of bits.

Converts this NonEmptyChunk of bytes to a NonEmptyChunk of bits.

Attributes

final def asBitsByte(implicit ev: A <:< Byte): Chunk[Boolean]
Implicitly added by toChunk

Converts a chunk of bytes to a chunk of bits.

Converts a chunk of bytes to a chunk of bits.

Attributes

final def asBitsInt(endianness: Endianness)(implicit ev: A <:< Int): Chunk[Boolean]
Implicitly added by toChunk

Converts a chunk of ints to a chunk of bits.

Converts a chunk of ints to a chunk of bits.

Attributes

def asBitsInt(endianness: Endianness)(implicit ev: A <:< Int): NonEmptyChunk[Boolean]

Converts this NonEmptyChunk of ints to a NonEmptyChunk of bits.

Converts this NonEmptyChunk of ints to a NonEmptyChunk of bits.

Attributes

final def asBitsLong(endianness: Endianness)(implicit ev: A <:< Long): Chunk[Boolean]
Implicitly added by toChunk

Converts a chunk of longs to a chunk of bits.

Converts a chunk of longs to a chunk of bits.

Attributes

def asBitsLong(endianness: Endianness)(implicit ev: A <:< Long): NonEmptyChunk[Boolean]

Converts this NonEmptyChunk of longs to a NonEmptyChunk of bits.

Converts this NonEmptyChunk of longs to a NonEmptyChunk of bits.

Attributes

final def asString(implicit ev: IsText[A]): String
Implicitly added by toChunk

Crates a new String based on this chunks data.

Crates a new String based on this chunks data.

Attributes

final def asString(charset: Charset)(implicit ev: A <:< Byte): String
Implicitly added by toChunk

Crates a new String based on this chunk of bytes and using the given charset.

Crates a new String based on this chunk of bytes and using the given charset.

Attributes

def boolean(index: Int)(implicit ev: A <:< Boolean): Boolean
Implicitly added by toChunk

Get the element at the specified index.

Get the element at the specified index.

Attributes

def byte(index: Int)(implicit ev: A <:< Byte): Byte
Implicitly added by toChunk

Get the element at the specified index.

Get the element at the specified index.

Attributes

def char(index: Int)(implicit ev: A <:< Char): Char
Implicitly added by toChunk

Get the element at the specified index.

Get the element at the specified index.

Attributes

def collectWhile[B](pf: PartialFunction[A, B]): Chunk[B]
Implicitly added by toChunk

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.

Attributes

def collectWhileZIO[R, E, B](pf: PartialFunction[A, ZIO[R, E, B]])(implicit trace: Trace): ZIO[R, E, Chunk[B]]
Implicitly added by toChunk
def collectZIO[R, E, B](pf: PartialFunction[A, ZIO[R, E, B]])(implicit trace: Trace): ZIO[R, E, Chunk[B]]
Implicitly added by toChunk

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 .

Attributes

final def corresponds[B](that: Chunk[B])(f: (A, B) => Boolean): Boolean
Implicitly added by toChunk

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.

Attributes

def dedupe: Chunk[A]
Implicitly added by toChunk

Deduplicates adjacent elements that are identical.

Deduplicates adjacent elements that are identical.

Attributes

def double(index: Int)(implicit ev: A <:< Double): Double
Implicitly added by toChunk

Get the element at the specified index.

Get the element at the specified index.

Attributes

def dropUntil(f: A => Boolean): Chunk[A]
Implicitly added by toChunk

Drops all elements until the predicate returns true.

Drops all elements until the predicate returns true.

Attributes

def dropUntilZIO[R, E](p: A => ZIO[R, E, Boolean])(implicit trace: Trace): ZIO[R, E, Chunk[A]]
Implicitly added by toChunk

Drops all elements until the effectful predicate returns true.

Drops all elements until the effectful predicate returns true.

Attributes

def dropWhileZIO[R, E](p: A => ZIO[R, E, Boolean])(implicit trace: Trace): ZIO[R, E, Chunk[A]]
Implicitly added by toChunk

Drops all elements so long as the effectful predicate returns true.

Drops all elements so long as the effectful predicate returns true.

Attributes

override def equals(that: Any): Boolean

Returns whether this NonEmptyChunk and the specified NonEmptyChunk are equal to each other.

Returns whether this NonEmptyChunk and the specified NonEmptyChunk are equal to each other.

Attributes

Definition Classes
Any
final def filterZIO[R, E](f: A => ZIO[R, E, Boolean])(implicit trace: Trace): ZIO[R, E, Chunk[A]]
Implicitly added by toChunk

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.

Attributes

final def findZIO[R, E](f: A => ZIO[R, E, Boolean])(implicit trace: Trace): ZIO[R, E, Option[A]]
Implicitly added by toChunk

Returns the first element that satisfies the effectful predicate.

Returns the first element that satisfies the effectful predicate.

Attributes

def flatMap[B](f: A => NonEmptyChunk[B]): NonEmptyChunk[B]

Maps each element of this NonEmptyChunk to a new NonEmptyChunk and then concatenates them together.

Maps each element of this NonEmptyChunk to a new NonEmptyChunk and then concatenates them together.

Attributes

def flatten[B](implicit ev: A <:< NonEmptyChunk[B]): NonEmptyChunk[B]

Flattens a NonEmptyChunk of NonEmptyChunk values to a single NonEmptyChunk.

Flattens a NonEmptyChunk of NonEmptyChunk values to a single NonEmptyChunk.

Attributes

def float(index: Int)(implicit ev: A <:< Float): Float
Implicitly added by toChunk

Get the element at the specified index.

Get the element at the specified index.

Attributes

final def foldWhile[S](s0: S)(pred: S => Boolean)(f: (S, A) => S): S
Implicitly added by toChunk

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

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

Attributes

final def foldWhileZIO[R, E, S](z: S)(pred: S => Boolean)(f: (S, A) => ZIO[R, E, S])(implicit trace: Trace): ZIO[R, E, S]
Implicitly added by toChunk
final def foldZIO[R, E, S](s: S)(f: (S, A) => ZIO[R, E, S])(implicit trace: Trace): ZIO[R, E, S]
Implicitly added by toChunk

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

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

Attributes

override def hashCode: Int

Returns the hashcode of this NonEmptyChunk.

Returns the hashcode of this NonEmptyChunk.

Attributes

Definition Classes
Any
def int(index: Int)(implicit ev: A <:< Int): Int
Implicitly added by toChunk

Get the element at the specified index.

Get the element at the specified index.

Attributes

def long(index: Int)(implicit ev: A <:< Long): Long
Implicitly added by toChunk

Get the element at the specified index.

Get the element at the specified index.

Attributes

def map[B](f: A => B): NonEmptyChunk[B]

Transforms the elements of this NonEmptyChunk with the specified function.

Transforms the elements of this NonEmptyChunk with the specified function.

Attributes

final def mapAccum[S1, B](s1: S1)(f1: (S1, A) => (S1, B)): (S1, Chunk[B])
Implicitly added by toChunk

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

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

Attributes

def mapAccum[S, B](s: S)(f: (S, A) => (S, B)): (S, NonEmptyChunk[B])

Maps over the elements of this NonEmptyChunk, maintaining some state along the way.

Maps over the elements of this NonEmptyChunk, maintaining some state along the way.

Attributes

final def mapAccumZIO[R, E, S1, B](s1: S1)(f1: (S1, A) => ZIO[R, E, (S1, B)])(implicit trace: Trace): ZIO[R, E, (S1, Chunk[B])]
Implicitly added by toChunk

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.

Attributes

def mapAccumZIO[R, E, S, B](s: S)(f: (S, A) => ZIO[R, E, (S, B)])(implicit trace: Trace): ZIO[R, E, (S, NonEmptyChunk[B])]

Effectfully maps over the elements of this NonEmptyChunk, maintaining some state along the way.

Effectfully maps over the elements of this NonEmptyChunk, maintaining some state along the way.

Attributes

final def mapZIO[R, E, B](f: A => ZIO[R, E, B])(implicit trace: Trace): ZIO[R, E, Chunk[B]]
Implicitly added by toChunk

Effectfully maps the elements of this chunk.

Effectfully maps the elements of this chunk.

Attributes

def mapZIO[R, E, B](f: A => ZIO[R, E, B])(implicit trace: Trace): ZIO[R, E, NonEmptyChunk[B]]

Effectfully maps the elements of this NonEmptyChunk.

Effectfully maps the elements of this NonEmptyChunk.

Attributes

final def mapZIODiscard[R, E](f: A => ZIO[R, E, Any])(implicit trace: Trace): ZIO[R, E, Unit]
Implicitly added by toChunk

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

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

Attributes

final def mapZIOPar[R, E, B](f: A => ZIO[R, E, B])(implicit trace: Trace): ZIO[R, E, Chunk[B]]
Implicitly added by toChunk

Effectfully maps the elements of this chunk in parallel.

Effectfully maps the elements of this chunk in parallel.

Attributes

def mapZIOPar[R, E, B](f: A => ZIO[R, E, B])(implicit trace: Trace): ZIO[R, E, NonEmptyChunk[B]]

Effectfully maps the elements of this NonEmptyChunk in parallel.

Effectfully maps the elements of this NonEmptyChunk in parallel.

Attributes

final def mapZIOParDiscard[R, E](f: A => ZIO[R, E, Any])(implicit trace: Trace): ZIO[R, E, Unit]
Implicitly added by toChunk

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.

Attributes

def materialize[A1 >: A]: Chunk[A1]
Implicitly added by toChunk

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

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

Attributes

def materialize[A1 >: A]: NonEmptyChunk[A1]

Materialize the elements of this NonEmptyChunk into a NonEmptyChunk backed by an array.

Materialize the elements of this NonEmptyChunk into a NonEmptyChunk backed by an array.

Attributes

def negate(implicit ev: A <:< Boolean): BitChunkByte
Implicitly added by toChunk

Returns the bitwise NOT of this chunk.

Returns the bitwise NOT of this chunk.

Attributes

def nonEmptyOrElse[B](ifEmpty: => B)(fn: NonEmptyChunk[A] => B): B
Implicitly added by toChunk

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

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

Attributes

def prepend[A1 >: A](that: Chunk[A1]): NonEmptyChunk[A1]

Prepends the specified Chunk to the beginning of this NonEmptyChunk.

Prepends the specified Chunk to the beginning of this NonEmptyChunk.

Attributes

def prepended[A1 >: A](a: A1): NonEmptyChunk[A1]

Prepends a single element to the beginning of this NonEmptyChunk.

Prepends a single element to the beginning of this NonEmptyChunk.

Attributes

def reduceMapLeft[B](map: A => B)(reduce: (B, A) => B): B

Reduces the elements of this NonEmptyChunk from left to right using the function map to transform the first value to the type B and then the function reduce to combine the B value with each other A value.

Reduces the elements of this NonEmptyChunk from left to right using the function map to transform the first value to the type B and then the function reduce to combine the B value with each other A value.

Attributes

def reduceMapRight[B](map: A => B)(reduce: (A, B) => B): B

Reduces the elements of this NonEmptyChunk from right to left using the function map to transform the first value to the type B and then the function reduce to combine the B value with each other A value.

Reduces the elements of this NonEmptyChunk from right to left using the function map to transform the first value to the type B and then the function reduce to combine the B value with each other A value.

Attributes

def short(index: Int)(implicit ev: A <:< Short): Short
Implicitly added by toChunk

Get the element at the specified index.

Get the element at the specified index.

Attributes

final def split(n: Int): Chunk[Chunk[A]]
Implicitly added by toChunk

Splits this chunk into n equally sized chunks.

Splits this chunk into n equally sized chunks.

Attributes

final def splitWhere(f: A => Boolean): (Chunk[A], Chunk[A])
Implicitly added by toChunk

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

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

Attributes

def takeWhileZIO[R, E](p: A => ZIO[R, E, Boolean])(implicit trace: Trace): ZIO[R, E, Chunk[A]]
Implicitly added by toChunk

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

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

Attributes

final def toBinaryString(implicit ev: A <:< Boolean): String
Implicitly added by toChunk

Renders this chunk of bits as a binary string.

Renders this chunk of bits as a binary string.

Attributes

def toChunk: Chunk[A]

Converts this NonEmptyChunk to a Chunk, discarding information about it not being empty.

Converts this NonEmptyChunk to a Chunk, discarding information about it not being empty.

Attributes

def toCons[A1 >: A]: ::[A1]

Converts this NonEmptyChunk to the :: case of a List.

Converts this NonEmptyChunk to the :: case of a List.

Attributes

def toPackedByte(implicit ev: A <:< Boolean): Chunk[Byte]
Implicitly added by toChunk
def toPackedInt(endianness: Endianness)(implicit ev: A <:< Boolean): Chunk[Int]
Implicitly added by toChunk
def toPackedLong(endianness: Endianness)(implicit ev: A <:< Boolean): Chunk[Long]
Implicitly added by toChunk
override def toString: String

Renders this NonEmptyChunk as a String.

Renders this NonEmptyChunk as a String.

Attributes

Definition Classes
Any
final def zip[B](that: Chunk[B])(implicit zippable: Zippable[A, B]): Chunk[Out]
Implicitly added by toChunk

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.

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.

Attributes

def zip[B](that: NonEmptyChunk[B])(implicit zippable: Zippable[A, B]): NonEmptyChunk[Out]

Zips this NonEmptyChunk with the specified NonEmptyChunk, only keeping as many elements as are in the smaller chunk.

Zips this NonEmptyChunk with the specified NonEmptyChunk, only keeping as many elements as are in the smaller chunk.

Attributes

final def zipAll[B](that: Chunk[B]): Chunk[(Option[A], Option[B])]
Implicitly added by toChunk

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.

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.

Attributes

def zipAll[B](that: Chunk[B]): NonEmptyChunk[(Option[A], Option[B])]

Zips this NonEmptyChunk with the specified Chunk, using None to "fill in" missing values if one chunk has fewer elements than the other.

Zips this NonEmptyChunk with the specified Chunk, using None to "fill in" missing values if one chunk has fewer elements than the other.

Attributes

final def zipAllWith[B, C](that: Chunk[B])(left: A => C, right: B => C)(both: (A, B) => C): Chunk[C]
Implicitly added by toChunk

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.

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.

Attributes

def zipAllWith[B, C](that: Chunk[B])(left: A => C, right: B => C)(both: (A, B) => C): NonEmptyChunk[C]

Zips this NonEmptyChunk with the specified Chunk, using the specified functions to "fill in" missing values if one chunk has fewer elements than the other.

Zips this NonEmptyChunk with the specified Chunk, using the specified functions to "fill in" missing values if one chunk has fewer elements than the other.

Attributes

final def zipWith[B, C](that: Chunk[B])(f: (A, B) => C): Chunk[C]
Implicitly added by toChunk

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

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

Attributes

def zipWith[B, C](that: NonEmptyChunk[B])(f: (A, B) => C): NonEmptyChunk[C]

Zips this NonEmptyChunk with the specified NonEmptyChunk, only keeping as many elements as are in the smaller chunk.

Zips this NonEmptyChunk with the specified NonEmptyChunk, only keeping as many elements as are in the smaller chunk.

Attributes

Annotates each element of this NonEmptyChunk with its index.

Annotates each element of this NonEmptyChunk with its index.

Attributes

final def zipWithIndexFrom(indexOffset: Int): Chunk[(A, Int)]
Implicitly added by toChunk

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.

Attributes

final def zipWithIndexFrom(indexOffset: Int): NonEmptyChunk[(A, Int)]

Annotates each element of this NonEmptyChunk with its index, with the specified offset.

Annotates each element of this NonEmptyChunk with its index, with the specified offset.

Attributes

def |(that: Chunk[Boolean])(implicit ev: A <:< Boolean): BitChunkByte
Implicitly added by toChunk

Returns the bitwise OR of this chunk and the specified chunk.

Returns the bitwise OR of this chunk and the specified chunk.

Attributes

Inherited methods

final def ++[B >: A](suffix: IterableOnce[B]): CC[B]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOps
final def +:[B >: A](elem: B): CC[B]
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
final def :+[B >: A](elem: B): CC[B]
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
final def :++[B >: A](suffix: IterableOnce[B]): CC[B]
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
Implicitly added by toChunk

Attributes

Inherited from:
PartialFunction
def apply(i: Int): A
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
def applyOrElse[A1 <: Int, B1 >: A](x: A1, default: A1 => B1): B1
Implicitly added by toChunk

Attributes

Inherited from:
PartialFunction
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
Implicitly added by toChunk

Attributes

Inherited from:
PartialFunction
def compose[A](g: A => Int): A => R
Implicitly added by toChunk

Attributes

Inherited from:
Function1
def contains[A1 >: A](elem: A1): Boolean
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
def containsSlice[B >: A](that: Seq[B]): Boolean
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
def copyToArray[B >: A](xs: Array[B], start: Int): Int
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: A](xs: Array[B]): Int
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: (A, B) => Boolean): Boolean
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def corresponds[B](that: Seq[B])(p: (A, B) => Boolean): Boolean
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
def count(p: A => Boolean): Int
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def distinct: C
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
Implicitly added by toChunk

Attributes

Inherited from:
PartialFunction
def endsWith[B >: A](that: Iterable[B]): Boolean
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
def findLast(p: A => Boolean): Option[A]
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def foreach[U](f: A => U): Unit
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
protected def fromSpecific(coll: IterableOnce[A]): CC[A]
Implicitly added by toChunk

Attributes

Inherited from:
IterableFactoryDefaults
def groupBy[K](f: A => K): Map[K, C]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOps
def groupMap[K, B](key: A => K)(f: A => B): Map[K, CC[B]]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOps
def groupMapReduce[K, B](key: A => K)(f: A => B)(reduce: (B, B) => B): Map[K, B]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOps
Implicitly added by toChunk

Attributes

Inherited from:
IterableOps
def indexOf[B >: A](elem: B): Int
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
def indexOf[B >: A](elem: B, from: Int): Int
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
def indexOfSlice[B >: A](that: Seq[B]): Int
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
def indexOfSlice[B >: A](that: Seq[B], from: Int): Int
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
def indexWhere(p: A => Boolean): Int
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
def init: C
Implicitly added by toChunk

Attributes

Inherited from:
IterableOps
def inits: Iterator[C]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOps
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
Implicitly added by toChunk

Attributes

Inherited from:
IndexedSeqOps
def lastIndexOf[B >: A](elem: B, end: Int): Int
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
def lastIndexOfSlice[B >: A](that: Seq[B]): Int
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
def lastIndexOfSlice[B >: A](that: Seq[B], end: Int): Int
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
Implicitly added by toChunk

Attributes

Inherited from:
Iterable
def length: Int
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
def lift: A => Option[B]
Implicitly added by toChunk

Attributes

Inherited from:
PartialFunction
def max[B >: A](implicit ord: Ordering[B]): A
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def maxBy[B](f: A => B)(implicit cmp: Ordering[B]): A
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def maxByOption[B](f: A => B)(implicit cmp: Ordering[B]): Option[A]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def maxOption[B >: A](implicit ord: Ordering[B]): Option[A]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def min[B >: A](implicit ord: Ordering[B]): A
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def minBy[B](f: A => B)(implicit cmp: Ordering[B]): A
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def minByOption[B](f: A => B)(implicit cmp: Ordering[B]): Option[A]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def minOption[B >: A](implicit ord: Ordering[B]): Option[A]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
final def mkString: String
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
final def mkString(sep: String): String
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
protected def newSpecificBuilder: Builder[A, CC[A]]
Implicitly added by toChunk

Attributes

Inherited from:
IterableFactoryDefaults
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def orElse[A1 <: Int, B1 >: A](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
Implicitly added by toChunk

Attributes

Inherited from:
PartialFunction
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
def product[B >: A](implicit num: Numeric[B]): B
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def reduce[B >: A](op: (B, B) => B): B
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def reduceLeft[B >: A](op: (B, A) => B): B
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def reduceLeftOption[B >: A](op: (B, A) => B): Option[B]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def reduceOption[B >: A](op: (B, B) => B): Option[B]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def reduceRight[B >: A](op: (A, B) => B): B
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def reduceRightOption[B >: A](op: (A, B) => B): Option[B]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def runWith[U](action: A => U): A => Boolean
Implicitly added by toChunk

Attributes

Inherited from:
PartialFunction
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
Implicitly added by toChunk

Attributes

Inherited from:
IndexedSeq
Implicitly added by toChunk

Attributes

Inherited from:
IndexedSeqOps
Implicitly added by toChunk

Attributes

Inherited from:
StrictOptimizedSeqOps
def scan[B >: A](z: B)(op: (B, B) => B): CC[B]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOps
def scanRight[B](z: B)(op: (A, B) => B): CC[B]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOps
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
final def segmentLength(p: A => Boolean): Int
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
Implicitly added by toChunk

Attributes

Inherited from:
IterableOps
Implicitly added by toChunk

Attributes

Inherited from:
IterableOps
Implicitly added by toChunk

Attributes

Inherited from:
IterableOps
def sortBy[B](f: A => B)(implicit ord: Ordering[B]): C
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
def sortWith(lt: (A, A) => Boolean): C
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
Implicitly added by toChunk

Attributes

Inherited from:
SeqOps
def sum[B >: A](implicit num: Numeric[B]): B
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def tail: C
Implicitly added by toChunk

Attributes

Inherited from:
IterableOps
def tails: Iterator[C]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOps
def to[C1](factory: Factory[A, C1]): C1
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
final def toBuffer[B >: A]: Buffer[B]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def toMap[K, V](implicit ev: A <:< (K, V)): Map[K, V]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def toSet[B >: A]: Set[B]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOnceOps
def transpose[B](implicit asIterable: A => Iterable[B]): CC[CC[B]]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOps
def unapply(a: Int): Option[B]
Implicitly added by toChunk

Attributes

Inherited from:
PartialFunction
def withFilter(p: A => Boolean): WithFilter[A, CC]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOps
def zipAll[A1 >: A, B](that: Iterable[B], thisElem: A1, thatElem: B): CC[(A1, B)]
Implicitly added by toChunk

Attributes

Inherited from:
IterableOps

Deprecated and Inherited methods

final def /:[B](z: B)(op: (B, A) => B): B
Implicitly added by toChunk

Attributes

Deprecated
[Since version 2.13.0] Use foldLeft instead of /:
Inherited from:
IterableOnceOps
final def :\[B](z: B)(op: (A, B) => B): B
Implicitly added by toChunk

Attributes

Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
def aggregate[B](z: => B)(seqop: (B, A) => B, combop: (B, B) => B): B
Implicitly added by toChunk

Attributes

Deprecated
[Since version 2.13.0] `aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.
Inherited from:
IterableOnceOps
Implicitly added by toChunk

Attributes

Deprecated
[Since version 2.13.0] Use iterableFactory instead
Inherited from:
IterableOps
final def copyToBuffer[B >: A](dest: Buffer[B]): Unit
Implicitly added by toChunk

Attributes

Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps
Implicitly added by toChunk

Attributes

Deprecated
[Since version 2.13.0] Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
Inherited from:
IterableOnceOps
final def prefixLength(p: A => Boolean): Int
Implicitly added by toChunk

Attributes

Deprecated
[Since version 2.13.0] Use segmentLength instead of prefixLength
Inherited from:
SeqOps
final def repr: C
Implicitly added by toChunk

Attributes

Deprecated
[Since version 2.13.0] Use coll instead of repr in a collection implementation, use the collection value itself from the outside
Inherited from:
IterableOps
def reverseMap[B](f: A => B): CC[B]
Implicitly added by toChunk

Attributes

Deprecated
[Since version 2.13.0] Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)
Inherited from:
SeqOps
def seq: Iterable.this.type
Implicitly added by toChunk

Attributes

Deprecated
[Since version 2.13.0] Iterable.seq always returns the iterable itself
Inherited from:
Iterable
final def toIterable: Iterable.this.type
Implicitly added by toChunk

Attributes

Deprecated
[Since version 2.13.7] toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
Iterable
final def toIterator: Iterator[A]
Implicitly added by toChunk

Attributes

Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps
final def toStream: Stream[A]
Implicitly added by toChunk

Attributes

Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps
final def toTraversable: Iterable[A]
Implicitly added by toChunk

Attributes

Deprecated
[Since version 2.13.0] toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
IterableOps
final def union[B >: A](that: Seq[B]): CC[B]
Implicitly added by toChunk

Attributes

Deprecated
[Since version 2.13.0] Use `concat` instead
Inherited from:
SeqOps

Inherited fields

Implicitly added by toChunk

Returns a SeqFactory that can construct Chunk values. The SeqFactory exposes a newBuilder method that is not referentially transparent because it allocates mutable state.

Returns a SeqFactory that can construct Chunk values. The SeqFactory exposes a newBuilder method that is not referentially transparent because it allocates mutable state.

Attributes

Inherited from:
ChunkLike