in scala.collection.jcl
trait SeqIterator

abstract trait SeqIterator [K, A]
extends java.lang.Object
with scala.collection.jcl.MutableIterator[A]
with scala.ScalaObject
An iterator for a sequence that can move both forwards and backwards. over a set of ordered keys.
Author:
Sean McDirmid
Direct Known Subclasses:
Map, Map, BufferIterator

Class Summary
class Map [B]

Def Summary
abstract def hasPrevious : scala.Boolean

def indexOf (a: A) : scala.Option[K]
finds the index of the next "a" in this iteration.
override def map [B] (f: (A) => B) : scala.collection.jcl.SeqIterator[K, B]

abstract def nextIndex : K

abstract def previous : A

abstract def previousIndex : K

def seek (idx: K) : A
Winds the iteration forward until index "idx" is found
Def inherited from scala.collection.jcl.MutableIterator[A]
buffered0 , filter, has, map, remove, remove, retain
Def Detail
abstract def hasPrevious : scala.Boolean
Returns:
True if and only if the iterator's cursor is not at the beging of the iteration.

def indexOf (a: A): scala.Option[K]
finds the index of the next "a" in this iteration.
Parameters:
a - ..
Returns:
None if "a" is not found in the iteration.

override def map [B](f: (A) => B): scala.collection.jcl.SeqIterator[K, B]

abstract def nextIndex : K
Returns:
s The index at the iterator's cursor.

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

abstract def previousIndex : K
Returns:
s The index of the element before the iterator's cursor.

def seek (idx: K): A
Winds the iteration forward until index "idx" is found