abstract class ForeachRefIterator[+T] extends AnyRef
Specialized variant of an internal iterator. The only way to iterate over a foreach
iterator is to use foreach
. Compared to a classical iterator, iteration can be repeated
and more efficient implementation strategies are easily possible.
- Self Type
- ForeachRefIterator[T]
- Source
- ForeachRefIterator.scala
- Note
The type bound
T <: AnyRef
is expected to be ex-/implicitly enforced by subclasses.
- Alphabetic
- By Inheritance
- ForeachRefIterator
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ForeachRefIterator()
Abstract Value Members
- abstract def foreach[U](f: (T) => U): Unit
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def +[X >: T <: AnyRef](that: X): ForeachRefIterator[X]
- final def ++[X >: T <: AnyRef](that: ForeachRefIterator[X]): ForeachRefIterator[X]
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def filter(p: (T) => Boolean): ForeachRefIterator[T]
- final def foreachWithIndex[U](f: (T, Int) => U): Unit
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def map[X <: AnyRef](m: (T) => X): ForeachRefIterator[X]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def withFilter(p: (T) => Boolean): ForeachRefIterator[T]
- final def zipWithIndex: ForeachRefIterator[(T, Int)]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated