IteratorFromTraversable

org.encalmo.data.Traversable.IteratorFromTraversable
final class IteratorFromTraversable[N](x: Traversable[N]) extends Iterator[N]

Attributes

Graph
Supertypes
trait Iterator[N]
trait IterableOnce[N]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

class GroupedIterator[B >: A](self: Iterator[B], size: Int, step: Int)

Attributes

Inherited from:
Iterator
Supertypes
class AbstractIterator[Seq[B]]
trait Iterator[Seq[B]]
trait IterableOnce[Seq[B]]
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

override def hasNext: Boolean

Attributes

Definition Classes
override def next(): N

Attributes

Definition Classes

Inherited methods

final def ++[B >: N](xs: => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
final def addString(b: StringBuilder): b.type

Attributes

Inherited from:
IterableOnceOps
final def addString(b: StringBuilder, sep: String): b.type

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
IterableOnceOps
def concat[B >: N](xs: => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
def contains(elem: Any): Boolean

Attributes

Inherited from:
Iterator
def copyToArray[B >: N](xs: Array[B], start: Int, len: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: N](xs: Array[B], start: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: N](xs: Array[B]): Int

Attributes

Inherited from:
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: (N, B) => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def count(p: N => Boolean): Int

Attributes

Inherited from:
IterableOnceOps
def distinct: Iterator[N]

Attributes

Inherited from:
Iterator
def distinctBy[B](f: N => B): Iterator[N]

Attributes

Inherited from:
Iterator
def drop(n: Int): Iterator[N]

Attributes

Inherited from:
Iterator
def dropWhile(p: N => Boolean): Iterator[N]

Attributes

Inherited from:
Iterator
def duplicate: (Iterator[N], Iterator[N])

Attributes

Inherited from:
Iterator
def exists(p: N => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def filter(p: N => Boolean): Iterator[N]

Attributes

Inherited from:
Iterator
def filterNot(p: N => Boolean): Iterator[N]

Attributes

Inherited from:
Iterator
def find(p: N => Boolean): Option[N]

Attributes

Inherited from:
IterableOnceOps
def flatMap[B](f: N => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
def flatten[B](implicit ev: N => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
def fold[A1 >: N](z: A1)(op: (A1, A1) => A1): A1

Attributes

Inherited from:
IterableOnceOps
def foldLeft[B](z: B)(op: (B, N) => B): B

Attributes

Inherited from:
IterableOnceOps
def foldRight[B](z: B)(op: (N, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def forall(p: N => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def foreach[U](f: N => U): Unit

Attributes

Inherited from:
IterableOnceOps
def grouped[B >: N](size: Int): GroupedIterator[B]

Attributes

Inherited from:
Iterator
def indexOf[B >: N](elem: B, from: Int): Int

Attributes

Inherited from:
Iterator
def indexOf[B >: N](elem: B): Int

Attributes

Inherited from:
Iterator
def indexWhere(p: N => Boolean, from: Int): Int

Attributes

Inherited from:
Iterator
override def isEmpty: Boolean

Attributes

Definition Classes
Inherited from:
Iterator

Attributes

Inherited from:
IterableOnceOps
final def iterator: Iterator[N]

Attributes

Inherited from:
Iterator
def knownSize: Int

Attributes

Inherited from:
IterableOnce
final def length: Int

Attributes

Inherited from:
Iterator
def map[B](f: N => B): Iterator[B]

Attributes

Inherited from:
Iterator
def max[B >: N](implicit ord: Ordering[B]): N

Attributes

Inherited from:
IterableOnceOps
def maxBy[B](f: N => B)(implicit ord: Ordering[B]): N

Attributes

Inherited from:
IterableOnceOps
def maxByOption[B](f: N => B)(implicit ord: Ordering[B]): Option[N]

Attributes

Inherited from:
IterableOnceOps
def maxOption[B >: N](implicit ord: Ordering[B]): Option[N]

Attributes

Inherited from:
IterableOnceOps
def min[B >: N](implicit ord: Ordering[B]): N

Attributes

Inherited from:
IterableOnceOps
def minBy[B](f: N => B)(implicit ord: Ordering[B]): N

Attributes

Inherited from:
IterableOnceOps
def minByOption[B](f: N => B)(implicit ord: Ordering[B]): Option[N]

Attributes

Inherited from:
IterableOnceOps
def minOption[B >: N](implicit ord: Ordering[B]): Option[N]

Attributes

Inherited from:
IterableOnceOps
final def mkString: String

Attributes

Inherited from:
IterableOnceOps
final def mkString(sep: String): String

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps
def nextOption(): Option[N]

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
IterableOnceOps
def padTo[B >: N](len: Int, elem: B): Iterator[B]

Attributes

Inherited from:
Iterator
def partition(p: N => Boolean): (Iterator[N], Iterator[N])

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator
def product[B >: N](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def reduce[B >: N](op: (B, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeft[B >: N](op: (B, N) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeftOption[B >: N](op: (B, N) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceOption[B >: N](op: (B, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceRight[B >: N](op: (N, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceRightOption[B >: N](op: (N, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
protected def reversed: Iterable[N]

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
Iterator
def scanLeft[B](z: B)(op: (B, N) => B): Iterator[B]

Attributes

Inherited from:
Iterator
def size: Int

Attributes

Inherited from:
IterableOnceOps
def slice(from: Int, until: Int): Iterator[N]

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator
def span(p: N => Boolean): (Iterator[N], Iterator[N])

Attributes

Inherited from:
Iterator
def splitAt(n: Int): (Iterator[N], Iterator[N])

Attributes

Inherited from:
IterableOnceOps
def stepper[S <: Stepper[_]](implicit shape: StepperShape[N, S]): S

Attributes

Inherited from:
IterableOnce
def sum[B >: N](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def take(n: Int): Iterator[N]

Attributes

Inherited from:
Iterator
def takeWhile(p: N => Boolean): Iterator[N]

Attributes

Inherited from:
Iterator
override def tapEach[U](f: N => U): Iterator[N]

Attributes

Definition Classes
Inherited from:
Iterator
def to[C1](factory: Factory[N, C1]): C1

Attributes

Inherited from:
IterableOnceOps
def toArray[B >: N : ClassTag]: Array[B]

Attributes

Inherited from:
IterableOnceOps
final def toBuffer[B >: N]: Buffer[B]

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps
def toList: List[N]

Attributes

Inherited from:
IterableOnceOps
def toMap[K, V](implicit ev: N <:< (K, V)): Map[K, V]

Attributes

Inherited from:
IterableOnceOps
def toSeq: Seq[N]

Attributes

Inherited from:
IterableOnceOps
def toSet[B >: N]: Set[B]

Attributes

Inherited from:
IterableOnceOps
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Iterator -> Any
Inherited from:
Iterator
def toVector: Vector[N]

Attributes

Inherited from:
IterableOnceOps
def withFilter(p: N => Boolean): Iterator[N]

Attributes

Inherited from:
Iterator
def zip[B](that: IterableOnce[B]): Iterator[(N, B)]

Attributes

Inherited from:
Iterator
def zipAll[A1 >: N, B](that: IterableOnce[B], thisElem: A1, thatElem: B): Iterator[(A1, B)]

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator

Deprecated and Inherited methods

final def /:[B](z: B)(op: (B, N) => B): B

Attributes

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

Attributes

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

Attributes

Deprecated
[Since version 2.13.0] For sequential collections, prefer `foldLeft(z)(seqop)`. For parallel collections, use `ParIterableLike#aggregate`.
Inherited from:
IterableOnceOps
final def copyToBuffer[B >: N](dest: Buffer[B]): Unit

Attributes

Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps
final override def hasDefiniteSize: Boolean

Attributes

Deprecated
[Since version 2.13.0] hasDefiniteSize on Iterator is the same as isEmpty
Definition Classes
Inherited from:
Iterator
def scanRight[B](z: B)(op: (N, B) => B): Iterator[B]

Attributes

Deprecated
[Since version 2.13.0] Call scanRight on an Iterable instead.
Inherited from:
Iterator
def seq: Iterator.this.type

Attributes

Deprecated
[Since version 2.13.0] Iterator.seq always returns the iterator itself
Inherited from:
Iterator
final def toIterator: Iterator[N]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps
final def toStream: Stream[N]

Attributes

Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps

Concrete fields

var index: Int