Mapped

class Mapped[S](f: T => S) extends IterableSplitter[S]
trait Splitter[S]
trait AugmentedIterableIterator[S]
trait RemainsIterator[S]
trait Iterator[S]
trait IterableOnceOps[S, [A] =>> Iterator[A], Iterator[S]]
trait IterableOnce[S]
class Object
trait Matchable
class Any

Type members

Inherited classlikes

class Appended[U >: T, PI <: IterableSplitter[U]](val that: PI)
Inherited from
IterableSplitter
class GroupedIterator[B >: A]
Inherited from
Iterator
class Mapped[S](f: T => S)
Inherited from
IterableSplitter
class Taken(taken: Int)
Inherited from
IterableSplitter
class Zipped[S](val that: SeqSplitter[S])
Inherited from
IterableSplitter
class ZippedAll[U >: T, S](val that: SeqSplitter[S], val thiselem: U, val thatelem: S)
Inherited from
IterableSplitter

Value members

Concrete methods

def hasNext: Boolean
def next(): S
def remaining: Int
def split: Seq[IterableSplitter[S]]

Inherited methods

@inline
final def ++[B >: S](xs: => IterableOnce[B]): Iterator[B]
Inherited from
Iterator
def abort(): Unit
Inherited from
DelegatedSignalling
@inline
final def addString(b: StringBuilder): StringBuilder
Inherited from
IterableOnceOps
@inline
final def addString(b: StringBuilder, sep: String): StringBuilder
Inherited from
IterableOnceOps
def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
Inherited from
IterableOnceOps
def appendParIterable[U >: S, PI <: IterableSplitter[U]](that: PI): Appended[U, PI]
Inherited from
IterableSplitter
def buffered: BufferedIterator[S]
Inherited from
Iterator
protected def buildString(closure: String => Unit => Unit): String
Inherited from
IterableSplitter
def collect[B](pf: PartialFunction[S, B]): Iterator[B]
Inherited from
Iterator
def collect2combiner[S, That](pf: PartialFunction[S, S], cb: Combiner[S, That]): Combiner[S, That]
Inherited from
AugmentedIterableIterator
def collectFirst[B](pf: PartialFunction[S, B]): Option[B]
Inherited from
IterableOnceOps
def concat[B >: S](xs: => IterableOnce[B]): Iterator[B]
Inherited from
Iterator
def contains(elem: Any): Boolean
Inherited from
Iterator
def copy2builder[U >: S, Coll, Bld <: Builder[U, Coll]](b: Bld): Bld
Inherited from
AugmentedIterableIterator
def copyToArray[B >: S](xs: Array[B], start: Int, len: Int): Int
Inherited from
IterableOnceOps
@deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
def copyToArray[B >: S](xs: Array[B], start: Int): Int
Inherited from
IterableOnceOps
@deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
def copyToArray[B >: S](xs: Array[B]): Int
Inherited from
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: (S, B) => Boolean): Boolean
Inherited from
IterableOnceOps
override def count(p: S => Boolean): Int
Definition Classes
AugmentedIterableIterator -> IterableOnceOps
Inherited from
AugmentedIterableIterator
def distinct: Iterator[S]
Inherited from
Iterator
def distinctBy[B](f: S => B): Iterator[S]
Inherited from
Iterator
override def drop(n: Int): IterableSplitter[S]

Drop implemented as simple eager consumption.

Drop implemented as simple eager consumption.

Definition Classes
IterableSplitter -> Iterator -> IterableOnceOps
Inherited from
IterableSplitter
def drop2combiner[U >: S, This](n: Int, cb: Combiner[U, This]): Combiner[U, This]
Inherited from
AugmentedIterableIterator
def dropWhile(p: S => Boolean): Iterator[S]
Inherited from
Iterator
def duplicate: (Iterator[S], Iterator[S])
Inherited from
Iterator
def exists(p: S => Boolean): Boolean
Inherited from
IterableOnceOps
def filter(p: S => Boolean): Iterator[S]
Inherited from
Iterator
def filter2combiner[U >: S, This](pred: S => Boolean, cb: Combiner[U, This]): Combiner[U, This]
Inherited from
AugmentedIterableIterator
def filterNot(p: S => Boolean): Iterator[S]
Inherited from
Iterator
def filterNot2combiner[U >: S, This](pred: S => Boolean, cb: Combiner[U, This]): Combiner[U, This]
Inherited from
AugmentedIterableIterator
def find(p: S => Boolean): Option[S]
Inherited from
IterableOnceOps
def flatMap[B](f: S => IterableOnce[B]): Iterator[B]
Inherited from
Iterator
def flatmap2combiner[S, That](f: S => IterableOnce[S], cb: Combiner[S, That]): Combiner[S, That]
Inherited from
AugmentedIterableIterator
def flatten[B](ev: S => IterableOnce[B]): Iterator[B]
Inherited from
Iterator
override def fold[U >: S](z: U)(op: (U, U) => U): U
Definition Classes
AugmentedIterableIterator -> IterableOnceOps
Inherited from
AugmentedIterableIterator
def foldLeft[B](z: B)(op: (B, S) => B): B
Inherited from
IterableOnceOps
def foldRight[B](z: B)(op: (S, B) => B): B
Inherited from
IterableOnceOps
def forall(p: S => Boolean): Boolean
Inherited from
IterableOnceOps
def foreach[U](f: S => U): Unit
Inherited from
IterableOnceOps
def grouped[B >: S](size: Int): GroupedIterator[B]
Inherited from
Iterator
def indexFlag: Int
Inherited from
DelegatedSignalling
def indexOf[B >: S](elem: B, from: Int): Int
Inherited from
Iterator
def indexOf[B >: S](elem: B): Int
Inherited from
Iterator
def indexWhere(p: S => Boolean, from: Int): Int
Inherited from
Iterator
def isAborted: Boolean
Inherited from
DelegatedSignalling
@deprecatedOverriding("isEmpty is defined as !hasNext; override hasNext instead", "2.13.0")
override def isEmpty: Boolean
Definition Classes
Iterator -> IterableOnceOps
Inherited from
Iterator
def isRemainingCheap: Boolean

For most collections, this is a cheap operation. Exceptions can override this method.

For most collections, this is a cheap operation. Exceptions can override this method.

Inherited from
RemainsIterator
def isTraversableAgain: Boolean
Inherited from
IterableOnceOps
@inline
final def iterator: Iterator[S]
Inherited from
Iterator
def knownSize: Int
Inherited from
IterableOnce
@inline
final def length: Int
Inherited from
Iterator
override def map[S](f: S => S): IterableSplitter[S]
Definition Classes
IterableSplitter -> Iterator -> IterableOnceOps
Inherited from
IterableSplitter
def map2combiner[S, That](f: S => S, cb: Combiner[S, That]): Combiner[S, That]
Inherited from
AugmentedIterableIterator
override def max[U >: S](ord: Ordering[U]): S
Definition Classes
AugmentedIterableIterator -> IterableOnceOps
Inherited from
AugmentedIterableIterator
def maxBy[B](f: S => B)(cmp: Ordering[B]): S
Inherited from
IterableOnceOps
def maxByOption[B](f: S => B)(cmp: Ordering[B]): Option[S]
Inherited from
IterableOnceOps
def maxOption[B >: S](ord: Ordering[B]): Option[S]
Inherited from
IterableOnceOps
override def min[U >: S](ord: Ordering[U]): S
Definition Classes
AugmentedIterableIterator -> IterableOnceOps
Inherited from
AugmentedIterableIterator
def minBy[B](f: S => B)(cmp: Ordering[B]): S
Inherited from
IterableOnceOps
def minByOption[B](f: S => B)(cmp: Ordering[B]): Option[S]
Inherited from
IterableOnceOps
def minOption[B >: S](ord: Ordering[B]): Option[S]
Inherited from
IterableOnceOps
@inline
final def mkString: String
Inherited from
IterableOnceOps
@inline
final def mkString(sep: String): String
Inherited from
IterableOnceOps
final def mkString(start: String, sep: String, end: String): String
Inherited from
IterableOnceOps
def nextOption(): Option[S]
Inherited from
Iterator
@deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
def nonEmpty: Boolean
Inherited from
IterableOnceOps
def padTo[B >: S](len: Int, elem: B): Iterator[B]
Inherited from
Iterator
def partition(p: S => Boolean): (Iterator[S], Iterator[S])
Inherited from
Iterator
def partition2combiners[U >: S, This](pred: S => Boolean, btrue: Combiner[U, This], bfalse: Combiner[U, This]): (Combiner[U, This], Combiner[U, This])
Inherited from
AugmentedIterableIterator
def patch[B >: S](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]
Inherited from
Iterator
override def product[U >: S](num: Numeric[U]): U
Definition Classes
AugmentedIterableIterator -> IterableOnceOps
Inherited from
AugmentedIterableIterator
override def reduce[U >: S](op: (U, U) => U): U
Definition Classes
AugmentedIterableIterator -> IterableOnceOps
Inherited from
AugmentedIterableIterator
def reduceLeft[B >: S](op: (B, S) => B): B
Inherited from
IterableOnceOps
def reduceLeft[U >: S](howmany: Int, op: (U, U) => U): U
Inherited from
AugmentedIterableIterator
def reduceLeftOption[B >: S](op: (B, S) => B): Option[B]
Inherited from
IterableOnceOps
def reduceOption[B >: S](op: (B, B) => B): Option[B]
Inherited from
IterableOnceOps
def reduceRight[B >: S](op: (S, B) => B): B
Inherited from
IterableOnceOps
def reduceRightOption[B >: S](op: (S, B) => B): Option[B]
Inherited from
IterableOnceOps
protected def reversed: Iterable[S]
Inherited from
IterableOnceOps
def sameElements[B >: S](that: IterableOnce[B]): Boolean
Inherited from
Iterator
def scanLeft[B](z: B)(op: (B, S) => B): Iterator[B]
Inherited from
Iterator
def scanToArray[U >: S, A >: U](z: U, op: (U, U) => U, array: Array[A], from: Int): Unit
Inherited from
AugmentedIterableIterator
def scanToCombiner[U >: S, That](howmany: Int, startValue: U, op: (U, U) => U, cb: Combiner[U, That]): Combiner[U, That]
Inherited from
AugmentedIterableIterator
def scanToCombiner[U >: S, That](startValue: U, op: (U, U) => U, cb: Combiner[U, That]): Combiner[U, That]
Inherited from
AugmentedIterableIterator
def setIndexFlag(f: Int): Unit
Inherited from
DelegatedSignalling
def setIndexFlagIfGreater(f: Int): Unit
Inherited from
DelegatedSignalling
def setIndexFlagIfLesser(f: Int): Unit
Inherited from
DelegatedSignalling
def shouldSplitFurther[S](coll: ParIterable[S], parallelismLevel: Int): Boolean
Inherited from
IterableSplitter
def size: Int
Inherited from
IterableOnceOps
override def slice(from1: Int, until1: Int): IterableSplitter[S]
Definition Classes
IterableSplitter -> Iterator -> IterableOnceOps
Inherited from
IterableSplitter
def slice2combiner[U >: S, This](from: Int, until: Int, cb: Combiner[U, This]): Combiner[U, This]
Inherited from
AugmentedIterableIterator
def sliding[B >: S](size: Int, step: Int): GroupedIterator[B]
Inherited from
Iterator
def span(p: S => Boolean): (Iterator[S], Iterator[S])
Inherited from
Iterator
def span2combiners[U >: S, This](p: S => Boolean, before: Combiner[U, This], after: Combiner[U, This]): (Combiner[U, This], Combiner[U, This])
Inherited from
AugmentedIterableIterator
def splitAt(n: Int): (Iterator[S], Iterator[S])
Inherited from
IterableOnceOps
def splitAt2combiners[U >: S, This](at: Int, before: Combiner[U, This], after: Combiner[U, This]): (Combiner[U, This], Combiner[U, This])
Inherited from
AugmentedIterableIterator
def stepper[S <: Stepper[_]](shape: StepperShape[S, S]): S
Inherited from
IterableOnce
override def sum[U >: S](num: Numeric[U]): U
Definition Classes
AugmentedIterableIterator -> IterableOnceOps
Inherited from
AugmentedIterableIterator
def tag: Int
Inherited from
DelegatedSignalling
override def take(n: Int): IterableSplitter[S]
Definition Classes
IterableSplitter -> Iterator -> IterableOnceOps
Inherited from
IterableSplitter
def take2combiner[U >: S, This](n: Int, cb: Combiner[U, This]): Combiner[U, This]
Inherited from
AugmentedIterableIterator
def takeWhile(p: S => Boolean): Iterator[S]
Inherited from
Iterator
def takeWhile2combiner[U >: S, This](p: S => Boolean, cb: Combiner[U, This]): (Combiner[U, This], Boolean)
Inherited from
AugmentedIterableIterator
override def tapEach[U](f: S => U): Iterator[S]
Definition Classes
Iterator -> IterableOnceOps
Inherited from
Iterator
def to[C1](factory: Factory[S, C1]): C1
Inherited from
IterableOnceOps
def toArray[B >: S](ClassTag[B]): Array[B]
Inherited from
IterableOnceOps
@inline
final def toBuffer[B >: S]: Buffer[B]
Inherited from
IterableOnceOps
def toIndexedSeq: IndexedSeq[S]
Inherited from
IterableOnceOps
def toList: List[S]
Inherited from
IterableOnceOps
def toMap[K, V](ev: S <:< (K, V)): Map[K, V]
Inherited from
IterableOnceOps
def toSeq: Seq[S]
Inherited from
IterableOnceOps
def toSet[B >: S]: Set[B]
Inherited from
IterableOnceOps
override def toString(): String
Definition Classes
Iterator -> Any
Inherited from
Iterator
def toVector: Vector[S]
Inherited from
IterableOnceOps
def withFilter(p: S => Boolean): Iterator[S]
Inherited from
Iterator
def zip[B](that: IterableOnce[B]): Iterator[(S, B)]
Inherited from
Iterator
def zip2combiner[U >: S, S, That](otherpit: RemainsIterator[S], cb: Combiner[(U, S), That]): Combiner[(U, S), That]
Inherited from
AugmentedIterableIterator
def zipAll[A1 >: S, B](that: IterableOnce[B], thisElem: A1, thatElem: B): Iterator[(A1, B)]
Inherited from
Iterator
def zipAll2combiner[U >: S, S, That](that: RemainsIterator[S], thiselem: U, thatelem: S, cb: Combiner[(U, S), That]): Combiner[(U, S), That]
Inherited from
AugmentedIterableIterator
def zipAllParSeq[S, U >: S, R >: S](that: SeqSplitter[S], thisElem: U, thatElem: R): ZippedAll[U, R]
Inherited from
IterableSplitter
def zipParSeq[S](that: SeqSplitter[S]): IterableSplitter[(S, S)]
Inherited from
IterableSplitter
def zipWithIndex: Iterator[(S, Int)]
Inherited from
Iterator

Deprecated and Inherited methods

@inline @deprecated("Use foldLeft instead of /:", "2.13.0")
final def /:[B](z: B)(op: (B, S) => B): B
Deprecated
Inherited from
IterableOnceOps
@inline @deprecated("Use foldRight instead of :\\", "2.13.0")
final def :\[B](z: B)(op: (S, B) => B): B
Deprecated
Inherited from
IterableOnceOps
@deprecated("`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.", "2.13.0")
def aggregate[B](z: => B)(seqop: (B, S) => B, combop: (B, B) => B): B
Deprecated
Inherited from
IterableOnceOps
@inline @deprecated("Use `dest ++= coll` instead", "2.13.0")
final def copyToBuffer[B >: S](dest: Buffer[B]): Unit
Deprecated
Inherited from
IterableOnceOps
@inline @deprecated("hasDefiniteSize on Iterator is the same as isEmpty", "2.13.0")
final override def hasDefiniteSize: Boolean
Deprecated
Definition Classes
Iterator -> IterableOnceOps
Inherited from
Iterator
@deprecated("Call scanRight on an Iterable instead.", "2.13.0")
def scanRight[B](z: B)(op: (S, B) => B): Iterator[B]
Deprecated
Inherited from
Iterator
@deprecated("Iterator.seq always returns the iterator itself", "2.13.0")
def seq: Mapped[S]
Deprecated
Inherited from
Iterator
@inline @deprecated("Use .iterator instead of .toIterator", "2.13.0")
final def toIterator: Iterator[S]
Deprecated
Inherited from
IterableOnceOps
@inline @deprecated("Use .to(LazyList) instead of .toStream", "2.13.0")
final def toStream: Stream[S]
Deprecated
Inherited from
IterableOnceOps

Inherited fields