in scala.collection.jcl
trait BufferIterator

abstract trait BufferIterator [K, A]
extends java.lang.Object
with scala.collection.jcl.SeqIterator[K, A]
with scala.ScalaObject
An iterator for a buffer that supports element update and insertion.
Author:
Sean McDirmid
Direct Known Subclasses:
IteratorWrapper, IteratorWrapper, IteratorWrapper

Def Summary
abstract def add (a: A) : scala.Unit
Inserts "a" after the iterator's cursor. If next was last called, "a" is inserted after the element returned. If previous was last called, "a" is inserted before the element returned.
abstract def set (a: A) : scala.Unit
Sets the element before this iterator's cursor to "a." Replaces either the last element returned by "next" or, if previous was called, the next element that would be return by "previous."
Def inherited from scala.collection.jcl.SeqIterator[K, A]
hasPrevious , indexOf, map, nextIndex, previous, previousIndex, seek
Def Detail
abstract def add (a: A): scala.Unit
Inserts "a" after the iterator's cursor. If next was last called, "a" is inserted after the element returned. If previous was last called, "a" is inserted before the element returned.

abstract def set (a: A): scala.Unit
Sets the element before this iterator's cursor to "a." Replaces either the last element returned by "next" or, if previous was called, the next element that would be return by "previous."