scala.collection.jcl.MutableSeq.Filter

class FilterIterator

[source: scala/collection/jcl/MutableSeq/Filter.scala]

class FilterIterator(underlying : SeqIterator[Int, A])
extends SeqIterator[Int, A]
Method Summary
def hasNext : Boolean
Does this iterator provide another element?
def hasPrevious : Boolean
def next : A
Returns the next element.
def nextIndex : Int
def previous : A
def previousIndex : Int
def remove : Unit
protected def seekNext : Option[A]
protected def seekPrevious : Option[A]
Methods inherited from SeqIterator
seek, indexOf, map
Methods inherited from MutableIterator
has, remove, retain
Methods inherited from Iterator
take, drop, slice, append, ++, flatMap, filter, takeWhile, dropWhile, zip, zipWithIndex, foreach, forall, exists, contains, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, buffered, counted, duplicate, copyToArray, readInto, readInto, readInto, copyToBuffer, toList, collect, mkString, mkString, mkString, addString, toString
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
protected def seekNext : Option[A]

protected def seekPrevious : Option[A]

def hasNext : Boolean
Does this iterator provide another element?

def nextIndex : Int
Returns
s The index at the iterator's cursor.
Overrides
SeqIterator.nextIndex

def next : A
Returns the next element.

def hasPrevious : Boolean
Returns
True if and only if the iterator's cursor is not at the beging of the iteration.
Overrides
SeqIterator.hasPrevious

def previousIndex : Int
Returns
s The index of the element before the iterator's cursor.
Overrides
SeqIterator.previousIndex

def previous : A
Returns
The previous element, will move the iterator's cursor backwards.
Overrides
SeqIterator.previous

def remove : Unit