CharArray

final case class CharArray(array: Array[Char])

Value members

Concrete methods

override def char(index: Int)(implicit ev: Char <:< Char): Char
Definition Classes

Inherited methods

final def ++[A1 >: Char](that: NonEmptyChunk[A1]): NonEmptyChunk[A1]
Inherited from:
Chunk
final def ++[A1 >: Char](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.

Inherited from:
Chunk
final def ++[B >: Char](suffix: IterableOnce[B]): Chunk[B]
Inherited from:
IterableOps
final override def ++:[B >: Char](prefix: IterableOnce[B]): Chunk[B]
Definition Classes
Inherited from:
SeqOps
final def +:[B >: Char](elem: B): Chunk[B]
Inherited from:
SeqOps
final def :+[B >: Char](elem: B): Chunk[B]
Inherited from:
SeqOps
final def :++[B >: Char](suffix: IterableOnce[B]): Chunk[B]
Inherited from:
SeqOps
Inherited from:
IterableOnceOps
override def andThen[C](k: Char => C): PartialFunction[Int, C]
Definition Classes
Inherited from:
PartialFunction
final override def appended[A1 >: Char](a1: A1): Chunk[A1]
Definition Classes
Inherited from:
ChunkLike
override def appendedAll[B >: Char](suffix: IterableOnce[B]): Chunk[B]
Definition Classes
Inherited from:
StrictOptimizedSeqOps
override def apply(n: Int): Char
Definition Classes
Arr -> SeqOps -> Function1
Inherited from:
Arr
def applyOrElse[A1 <: Int, B1 >: Char](x: A1, default: A1 => B1): B1
Inherited from:
PartialFunction
final def asBits(implicit ev: Char <:< Byte): Chunk[Boolean]

Converts a chunk of bytes to a chunk of bits.

Converts a chunk of bytes to a chunk of bits.

Inherited from:
Chunk
def boolean(index: Int)(implicit ev: Char <:< Boolean): Boolean

Get the element at the specified index.

Get the element at the specified index.

Inherited from:
Chunk
def byte(index: Int)(implicit ev: Char <:< Byte): Byte

Get the element at the specified index.

Get the element at the specified index.

Inherited from:
Chunk
override def canEqual(that: Any): Boolean
Definition Classes
Inherited from:
IndexedSeq
override def collect[B](pf: PartialFunction[Char, 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.

Definition Classes
Inherited from:
ChunkLike
override protected def collectChunk[B](pf: PartialFunction[Char, B]): Chunk[B]
Definition Classes
Arr -> Chunk
Inherited from:
Arr
Inherited from:
IterableOnceOps
override def collectM[R, E, B](pf: PartialFunction[Char, ZIO[R, E, B]]): ZIO[R, E, Chunk[B]]
Definition Classes
Arr -> Chunk
Inherited from:
Arr
override def collectWhile[B](pf: PartialFunction[Char, B]): Chunk[B]
Definition Classes
Arr -> Chunk
Inherited from:
Arr
override def collectWhileM[R, E, B](pf: PartialFunction[Char, ZIO[R, E, B]]): ZIO[R, E, Chunk[B]]
Definition Classes
Arr -> Chunk
Inherited from:
Arr
Inherited from:
SeqOps
def compose[A](g: A => Int): A => Char
Inherited from:
Function1
final override def concat[B >: Char](suffix: IterableOnce[B]): Chunk[B]
Definition Classes
Inherited from:
SeqOps
def contains[A1 >: Char](elem: A1): Boolean
Inherited from:
SeqOps
def containsSlice[B >: Char](that: Seq[B]): Boolean
Inherited from:
SeqOps
def copyToArray[B >: Char](xs: Array[B], start: Int, len: Int): Int
Inherited from:
IterableOnceOps
@deprecatedOverriding(message = "This should always forward to the 3-arg version of this method", since = "2.13.4")
def copyToArray[B >: Char](xs: Array[B], start: Int): Int
Inherited from:
IterableOnceOps
@deprecatedOverriding(message = "This should always forward to the 3-arg version of this method", since = "2.13.4")
def copyToArray[B >: Char](xs: Array[B]): Int
Inherited from:
IterableOnceOps
final def corresponds[B](that: Chunk[B])(f: (Char, 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.

Inherited from:
Chunk
def corresponds[B](that: IterableOnce[B])(p: (Char, B) => Boolean): Boolean
Inherited from:
IterableOnceOps
def corresponds[B](that: Seq[B])(p: (Char, B) => Boolean): Boolean
Inherited from:
SeqOps
def count(p: Char => Boolean): Int
Inherited from:
IterableOnceOps
override def diff[B >: Char](that: Seq[B]): Chunk[Char]
Definition Classes
Inherited from:
StrictOptimizedSeqOps
Inherited from:
SeqOps
override def distinctBy[B](f: Char => B): Chunk[Char]
def double(index: Int)(implicit ev: Char <:< Double): Double

Get the element at the specified index.

Get the element at the specified index.

Inherited from:
Chunk
override def drop(n: Int): Chunk[Char]

Drops the first n elements of the chunk.

Drops the first n elements of the chunk.

Definition Classes
Inherited from:
Chunk
override def dropRight(n: Int): Chunk[Char]

Drops the last n elements of the chunk.

Drops the last n elements of the chunk.

Definition Classes
Inherited from:
Chunk
override def dropWhile(f: Char => Boolean): Chunk[Char]
Definition Classes
Inherited from:
Arr
def dropWhileM[R, E](p: Char => ZIO[R, E, Boolean]): ZIO[R, E, Chunk[Char]]
Inherited from:
Chunk
override def empty: Chunk[Char]
def endsWith[B >: Char](that: Iterable[B]): Boolean
Inherited from:
SeqOps
final override def equals(that: Any): Boolean
Definition Classes
Chunk -> Seq -> Equals -> Any
Inherited from:
Chunk
final override def exists(f: Char => 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
Inherited from:
Chunk
override def filter(f: Char => Boolean): Chunk[Char]
Definition Classes
Inherited from:
Arr
final def filterM[R, E](f: Char => ZIO[R, E, Boolean]): ZIO[R, E, Chunk[Char]]

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.

Inherited from:
Chunk
final override def find(f: Char => Boolean): Option[Char]

Returns the first element that satisfies the predicate.

Returns the first element that satisfies the predicate.

Definition Classes
Inherited from:
Chunk
Inherited from:
SeqOps
final override def flatMap[B](f: Char => IterableOnce[B]): Chunk[B]

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
Inherited from:
ChunkLike
final def flatten[B](implicit ev: Char <:< 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.

Inherited from:
Chunk
override def flatten[B](implicit toIterableOnce: Char => IterableOnce[B]): Chunk[B]
def float(index: Int)(implicit ev: Char <:< Float): Float

Get the element at the specified index.

Get the element at the specified index.

Inherited from:
Chunk
def fold[A1 >: Char](z: A1)(op: (A1, A1) => A1): A1
Inherited from:
IterableOnceOps
override def foldLeft[S](s0: S)(f: (S, Char) => S): S
Definition Classes
Inherited from:
Arr
final def foldM[R, E, S](s: S)(f: (S, Char) => 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.

Inherited from:
Chunk
override def foldRight[S](s0: S)(f: (Char, S) => S): S
Definition Classes
Inherited from:
Arr
final def foldWhile[S](s0: S)(pred: S => Boolean)(f: (S, Char) => S): S

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.

Inherited from:
Chunk
final def foldWhileM[R, E, S](z: S)(pred: S => Boolean)(f: (S, Char) => ZIO[R, E, S]): ZIO[R, E, S]
Inherited from:
Chunk
final override def forall(f: Char => 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
Inherited from:
Chunk
override def foreach[B](f: Char => B): Unit
Definition Classes
Inherited from:
Arr
protected def fromSpecific(coll: IterableOnce[Char]): Chunk[Char]
def groupBy[K](f: Char => K): Map[K, Chunk[Char]]
Inherited from:
IterableOps
def groupMap[K, B](key: Char => K)(f: Char => B): Map[K, Chunk[B]]
Inherited from:
IterableOps
def groupMapReduce[K, B](key: Char => K)(f: Char => B)(reduce: (B, B) => B): Map[K, B]
Inherited from:
IterableOps
def grouped(size: Int): Iterator[Chunk[Char]]
Inherited from:
IterableOps
final override def hashCode: Int
Definition Classes
Chunk -> Seq -> Any
Inherited from:
Chunk
override def head: Char

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.

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
Inherited from:
Chunk
final override def headOption: Option[Char]

Returns the first element of this chunk if it exists.

Returns the first element of this chunk if it exists.

Definition Classes
Inherited from:
Chunk
@deprecatedOverriding(message = "Override indexOf(elem, from) instead - indexOf(elem) calls indexOf(elem, 0)", since = "2.13.0")
def indexOf[B >: Char](elem: B): Int
Inherited from:
SeqOps
def indexOf[B >: Char](elem: B, from: Int): Int
Inherited from:
SeqOps
@deprecatedOverriding(message = "Override indexOfSlice(that, from) instead - indexOfSlice(that) calls indexOfSlice(that, 0)", since = "2.13.0")
def indexOfSlice[B >: Char](that: Seq[B]): Int
Inherited from:
SeqOps
def indexOfSlice[B >: Char](that: Seq[B], from: Int): Int
Inherited from:
SeqOps
final override def indexWhere(f: Char => 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
Inherited from:
Chunk
@deprecatedOverriding(message = "Override indexWhere(p, from) instead - indexWhere(p) calls indexWhere(p, 0)", since = "2.13.0")
Inherited from:
SeqOps
Inherited from:
SeqOps
Inherited from:
IterableOps
Inherited from:
IterableOps
def int(index: Int)(implicit ev: Char <:< Int): Int

Get the element at the specified index.

Get the element at the specified index.

Inherited from:
Chunk
override def intersect[B >: Char](that: Seq[B]): Chunk[Char]
Definition Classes
Inherited from:
StrictOptimizedSeqOps
Inherited from:
SeqOps
final override def isEmpty: Boolean

Determines if the chunk is empty.

Determines if the chunk is empty.

Definition Classes
Inherited from:
Chunk
Definition Classes
Inherited from:
IterableOps
Inherited from:
IndexedSeqOps
override def knownSize: Int
Definition Classes
Inherited from:
IndexedSeqOps
override def last: Char
Definition Classes
Inherited from:
IndexedSeqOps
def lastIndexOf[B >: Char](elem: B, end: Int): Int
Inherited from:
SeqOps
@deprecatedOverriding(message = "Override lastIndexOfSlice(that, end) instead - lastIndexOfSlice(that) calls lastIndexOfSlice(that, Int.MaxValue)", since = "2.13.0")
def lastIndexOfSlice[B >: Char](that: Seq[B]): Int
Inherited from:
SeqOps
def lastIndexOfSlice[B >: Char](that: Seq[B], end: Int): Int
Inherited from:
SeqOps
@deprecatedOverriding(message = "Override lastIndexWhere(p, end) instead - lastIndexWhere(p) calls lastIndexWhere(p, Int.MaxValue)", since = "2.13.0")
Inherited from:
SeqOps
def lastIndexWhere(p: Char => Boolean, end: Int): Int
Inherited from:
SeqOps
final override def lastOption: Option[Char]

Returns the last element of this chunk if it exists.

Returns the last element of this chunk if it exists.

Definition Classes
Inherited from:
Chunk
def lazyZip[B](that: Iterable[B]): LazyZip2[Char, B, CharArray]
Inherited from:
Iterable
final override def lengthCompare(that: Iterable[_]): Int
Definition Classes
Inherited from:
IndexedSeqOps
final override def lengthCompare(len: Int): Int
Definition Classes
Inherited from:
IndexedSeqOps
Inherited from:
SeqOps
def lift: Int => Option[Char]
Inherited from:
PartialFunction
def long(index: Int)(implicit ev: Char <:< Long): Long

Get the element at the specified index.

Get the element at the specified index.

Inherited from:
Chunk
final override def map[B](f: Char => 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.

Definition Classes
Inherited from:
ChunkLike
final def mapAccum[S1, B](s1: S1)(f1: (S1, Char) => (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.

Inherited from:
Chunk
final def mapAccumM[R, E, S1, B](s1: S1)(f1: (S1, Char) => 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.

Inherited from:
Chunk
override protected def mapChunk[B](f: Char => B): Chunk[B]
Definition Classes
Arr -> Chunk
Inherited from:
Arr
final def mapM[R, E, B](f: Char => ZIO[R, E, B]): ZIO[R, E, Chunk[B]]

Effectfully maps the elements of this chunk.

Effectfully maps the elements of this chunk.

Inherited from:
Chunk
final def mapMPar[R, E, B](f: Char => 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.

Inherited from:
Chunk
final def mapMPar_[R, E](f: Char => 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.

Inherited from:
Chunk
final def mapM_[R, E](f: Char => 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.

Inherited from:
Chunk
override def materialize[A1 >: Char]: Chunk[A1]
Definition Classes
Arr -> Chunk
Inherited from:
Arr
def max[B >: Char](implicit ord: Ordering[B]): Char
Inherited from:
IterableOnceOps
def maxBy[B](f: Char => B)(implicit cmp: Ordering[B]): Char
Inherited from:
IterableOnceOps
def maxByOption[B](f: Char => B)(implicit cmp: Ordering[B]): Option[Char]
Inherited from:
IterableOnceOps
def maxOption[B >: Char](implicit ord: Ordering[B]): Option[Char]
Inherited from:
IterableOnceOps
def min[B >: Char](implicit ord: Ordering[B]): Char
Inherited from:
IterableOnceOps
def minBy[B](f: Char => B)(implicit cmp: Ordering[B]): Char
Inherited from:
IterableOnceOps
def minByOption[B](f: Char => B)(implicit cmp: Ordering[B]): Option[Char]
Inherited from:
IterableOnceOps
def minOption[B >: Char](implicit ord: Ordering[B]): Option[Char]
Inherited from:
IterableOnceOps
final def mkString: String
Inherited from:
IterableOnceOps
final def mkString(sep: String): String
Inherited from:
IterableOnceOps
final def mkString(start: String, sep: String, end: String): String
Inherited from:
IterableOnceOps
@deprecatedOverriding(message = "nonEmpty is defined as !isEmpty; override isEmpty instead", since = "2.13.0")
Inherited from:
IterableOnceOps
def nonEmptyOrElse[B](ifEmpty: => B)(fn: NonEmptyChunk[Char] => 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

Inherited from:
Chunk
def orElse[A1 <: Int, B1 >: Char](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
Inherited from:
PartialFunction
override def padTo[B >: Char](len: Int, elem: B): Chunk[B]
Definition Classes
Inherited from:
StrictOptimizedSeqOps
override def partition(p: Char => Boolean): (Chunk[Char], Chunk[Char])
final override def partitionMap[B, C](f: Char => 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
Inherited from:
Chunk
override def patch[B >: Char](from: Int, other: IterableOnce[B], replaced: Int): Chunk[B]
Definition Classes
Inherited from:
StrictOptimizedSeqOps
Inherited from:
SeqOps
final override def prepended[A1 >: Char](a1: A1): Chunk[A1]
Definition Classes
Inherited from:
ChunkLike
override def prependedAll[B >: Char](prefix: IterableOnce[B]): Chunk[B]
Definition Classes
Inherited from:
StrictOptimizedSeqOps
def product[B >: Char](implicit num: Numeric[B]): B
Inherited from:
IterableOnceOps
Inherited from:
Product
def reduce[B >: Char](op: (B, B) => B): B
Inherited from:
IterableOnceOps
def reduceLeft[B >: Char](op: (B, Char) => B): B
Inherited from:
IterableOnceOps
def reduceLeftOption[B >: Char](op: (B, Char) => B): Option[B]
Inherited from:
IterableOnceOps
def reduceOption[B >: Char](op: (B, B) => B): Option[B]
Inherited from:
IterableOnceOps
def reduceRight[B >: Char](op: (Char, B) => B): B
Inherited from:
IterableOnceOps
def reduceRightOption[B >: Char](op: (Char, B) => B): Option[B]
Inherited from:
IterableOnceOps
override def reverse: Chunk[Char]
Definition Classes
Inherited from:
IndexedSeqOps
Definition Classes
Inherited from:
IndexedSeqOps
override protected def reversed: Iterable[Char]
Definition Classes
Inherited from:
IndexedSeqOps
def runWith[U](action: Char => U): Int => Boolean
Inherited from:
PartialFunction
override def sameElements[B >: Char](o: IterableOnce[B]): Boolean
Definition Classes
Inherited from:
IndexedSeq
def scan[B >: Char](z: B)(op: (B, B) => B): Chunk[B]
Inherited from:
IterableOps
override def scanLeft[B](z: B)(op: (B, Char) => B): Chunk[B]
def scanRight[B](z: B)(op: (Char, B) => B): Chunk[B]
Inherited from:
IterableOps
override def search[B >: Char](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult
Definition Classes
Inherited from:
IndexedSeqOps
override def search[B >: Char](elem: B)(implicit ord: Ordering[B]): SearchResult
Definition Classes
Inherited from:
IndexedSeqOps
def segmentLength(p: Char => Boolean, from: Int): Int
Inherited from:
SeqOps
final def segmentLength(p: Char => Boolean): Int
Inherited from:
SeqOps
def short(index: Int)(implicit ev: Char <:< Short): Short

Get the element at the specified index.

Get the element at the specified index.

Inherited from:
Chunk
final override def size: Int
Definition Classes
Inherited from:
SeqOps
final override def sizeCompare(that: Iterable[_]): Int
Definition Classes
Inherited from:
SeqOps
final override def sizeCompare(otherSize: Int): Int
Definition Classes
Inherited from:
SeqOps
Inherited from:
IterableOps
override def slice(from: Int, until: Int): Chunk[Char]
Definition Classes
Inherited from:
IndexedSeqOps
def sliding(size: Int, step: Int): Iterator[Chunk[Char]]
Inherited from:
IterableOps
def sliding(size: Int): Iterator[Chunk[Char]]
Inherited from:
IterableOps
def sortBy[B](f: Char => B)(implicit ord: Ordering[B]): Chunk[Char]
Inherited from:
SeqOps
def sortWith(lt: (Char, Char) => Boolean): Chunk[Char]
Inherited from:
SeqOps
override def sorted[B >: Char](implicit ord: Ordering[B]): Chunk[Char]
Definition Classes
Inherited from:
StrictOptimizedSeqOps
final def split(n: Int): Chunk[Chunk[Char]]

Splits this chunk into n equally sized chunks.

Splits this chunk into n equally sized chunks.

Inherited from:
Chunk
final override def splitAt(n: Int): (Chunk[Char], Chunk[Char])

Returns two splits of this chunk at the specified index.

Returns two splits of this chunk at the specified index.

Definition Classes
Inherited from:
Chunk
final def splitWhere(f: Char => Boolean): (Chunk[Char], Chunk[Char])

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

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

Inherited from:
Chunk
def startsWith[B >: Char](that: IterableOnce[B], offset: Int): Boolean
Inherited from:
SeqOps
override def stepper[S <: Stepper[_]](implicit shape: StepperShape[Char, S]): S & EfficientSplit
Definition Classes
Inherited from:
IndexedSeqOps
def sum[B >: Char](implicit num: Numeric[B]): B
Inherited from:
IterableOnceOps
Inherited from:
IterableOps
Inherited from:
IterableOps
override def take(n: Int): Chunk[Char]

Takes the first n elements of the chunk.

Takes the first n elements of the chunk.

Definition Classes
Inherited from:
Chunk
override def takeRight(n: Int): Chunk[Char]

Takes the last n elements of the chunk.

Takes the last n elements of the chunk.

Definition Classes
Inherited from:
Chunk
override def takeWhile(f: Char => Boolean): Chunk[Char]

Takes all elements so long as the predicate returns true.

Takes all elements so long as the predicate returns true.

Definition Classes
Inherited from:
Arr
def takeWhileM[R, E](p: Char => ZIO[R, E, Boolean]): ZIO[R, E, Chunk[Char]]

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

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

Inherited from:
Chunk
override def tapEach[U](f: Char => U): Chunk[Char]
def to[C1](factory: Factory[Char, C1]): C1
Inherited from:
IterableOnceOps
override def toArray[A1 >: Char : ClassTag]: Array[A1]

Converts the chunk into an array.

Converts the chunk into an array.

Definition Classes
Inherited from:
Chunk
final def toBinaryString(implicit ev: Char <:< Boolean): String

Renders this chunk of bits as a binary string.

Renders this chunk of bits as a binary string.

Inherited from:
Chunk
final def toBuffer[B >: Char]: Buffer[B]
Inherited from:
IterableOnceOps
final override def toIndexedSeq: IndexedSeq[Char]
Definition Classes
Inherited from:
IndexedSeq
final override def toList: List[Char]
Definition Classes
Inherited from:
Chunk
def toMap[K, V](implicit ev: Char <:< (K, V)): Map[K, V]
Inherited from:
IterableOnceOps
final override def toSeq: CharArray
Definition Classes
Inherited from:
Seq
def toSet[B >: Char]: Set[B]
Inherited from:
IterableOnceOps
final override def toString: String
Definition Classes
Chunk -> Seq -> Function1 -> Iterable -> Any
Inherited from:
Chunk
final override def toVector: Vector[Char]
Definition Classes
Inherited from:
Chunk
def transpose[B](implicit asIterable: Char => Iterable[B]): Chunk[Chunk[B]]
Inherited from:
IterableOps
Inherited from:
PartialFunction
override def unzip[A1, A2](implicit asPair: Char => (A1, A2)): (Chunk[A1], Chunk[A2])
override def unzip3[A1, A2, A3](implicit asTriple: Char => (A1, A2, A3)): (Chunk[A1], Chunk[A2], Chunk[A3])
override def updated[B >: Char](index: Int, elem: B): Chunk[B]
Definition Classes
Inherited from:
StrictOptimizedSeqOps
override def view: IndexedSeqView[Char]
Definition Classes
Inherited from:
IndexedSeqOps
Inherited from:
IterableOps
final def zip[B](that: Chunk[B]): Chunk[(Char, B)]

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.

Inherited from:
Chunk
override def zip[B](that: IterableOnce[B]): Chunk[(Char, B)]
final def zipAll[B](that: Chunk[B]): Chunk[(Option[Char], 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. 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.

Inherited from:
Chunk
def zipAll[A1 >: Char, B](that: Iterable[B], thisElem: A1, thatElem: B): Chunk[(A1, B)]
Inherited from:
IterableOps
final def zipAllWith[B, C](that: Chunk[B])(left: Char => C, right: B => C)(both: (Char, 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. 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.

Inherited from:
Chunk
final def zipWith[B, C](that: Chunk[B])(f: (Char, 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.

Inherited from:
Chunk
final override def zipWithIndex: Chunk[(Char, Int)]

Zips this chunk with the index of every element.

Zips this chunk with the index of every element.

Definition Classes
Inherited from:
ChunkLike
final def zipWithIndexFrom(indexOffset: Int): Chunk[(Char, 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.

Inherited from:
Chunk

Deprecated and Inherited methods

@deprecated("use :+", "1.0.0")
final def +[A1 >: Char](a: A1): Chunk[A1]

Appends an element to the chunk

Appends an element to the chunk

Deprecated
Inherited from:
Chunk
@inline @deprecated(message = "Use foldLeft instead of /:", since = "2.13.0")
final def /:[B](z: B)(op: (B, Char) => B): B
Deprecated
[Since version 2.13.0] Use foldLeft instead of /:
Inherited from:
IterableOnceOps
@inline @deprecated(message = "Use foldRight instead of :\\", since = "2.13.0")
final def :\[B](z: B)(op: (Char, B) => B): B
Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
@deprecated(message = "`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.", since = "2.13.0")
def aggregate[B](z: => B)(seqop: (B, Char) => B, combop: (B, B) => B): B
Deprecated
[Since version 2.13.0] `aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.
Inherited from:
IterableOnceOps
@inline @deprecatedOverriding(message = "Use iterableFactory instead", since = "2.13.0") @deprecated(message = "Use iterableFactory instead", since = "2.13.0")
Deprecated
[Since version 2.13.0] Use iterableFactory instead
Inherited from:
IterableOps
@inline @deprecated(message = "Use `dest ++= coll` instead", since = "2.13.0")
final def copyToBuffer[B >: Char](dest: Buffer[B]): Unit
Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps
@deprecated(message = "Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)", since = "2.13.0")
Deprecated
[Since version 2.13.0] Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
Inherited from:
IterableOnceOps
@inline @deprecated(message = "Use segmentLength instead of prefixLength", since = "2.13.0")
final def prefixLength(p: Char => Boolean): Int
Deprecated
[Since version 2.13.0] Use segmentLength instead of prefixLength
Inherited from:
SeqOps
@deprecated(message = "Use coll instead of repr in a collection implementation, use the collection value itself from the outside", since = "2.13.0")
final def repr: Chunk[Char]
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
@deprecated(message = "Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)", since = "2.13.0")
def reverseMap[B](f: Char => B): Chunk[B]
Deprecated
[Since version 2.13.0] Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)
Inherited from:
SeqOps
@deprecated(message = "Iterable.seq always returns the iterable itself", since = "2.13.0")
Deprecated
[Since version 2.13.0] Iterable.seq always returns the iterable itself
Inherited from:
Iterable
@deprecated(message = "toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections", since = "2.13.7")
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
@inline @deprecated(message = "Use .iterator instead of .toIterator", since = "2.13.0")
Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps
@inline @deprecated(message = "Use .to(LazyList) instead of .toStream", since = "2.13.0")
final def toStream: Stream[Char]
Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps
@deprecated(message = "toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections", since = "2.13.0")
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
@inline @deprecated(message = "Use `concat` instead", since = "2.13.0")
final def union[B >: Char](that: Seq[B]): Chunk[B]
Deprecated
[Since version 2.13.0] Use `concat` instead
Inherited from:
SeqOps
@deprecated(message = "Use .view.slice(from, until) instead of .view(from, until)", since = "2.13.0")
override def view(from: Int, until: Int): IndexedSeqView[Char]
Deprecated
[Since version 2.13.0] Use .view.slice(from, until) instead of .view(from, until)
Definition Classes
Inherited from:
IndexedSeqOps

Inherited fields

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.

Inherited from:
ChunkLike
override val length: Int
Inherited from:
Arr

Implicits

Inherited implicits

implicit val classTag: ClassTag[Char]
Inherited from:
Arr