in scala.collection.jcl
trait MutableIterator

`abstract trait` MutableIterator [A]
  `extends` java.lang.Object
  `with` scala.Iterator[A]
  `with` scala.ScalaObject

  An iterator that supports the remove operation. These iterators wrap Java iterators, and so have the same fail fast behavior when dealing with concurrent modifications.

Author:
  Sean McDirmid

Direct Known Subclasses:
  IteratorWrapper, IteratorWrapper, IteratorWrapper, IteratorWrapper, IteratorWrapper, IteratorWrapper, Buffered, SeqIterator, Map, Buffered, IteratorWrapper, IteratorWrapper, IteratorWrapper, IteratorWrapper, IteratorWrapper, IteratorWrapper, IteratorWrapper, IteratorWrapper, Buffered, IteratorWrapper

Class Summary
| `class` BufferedImpl
| `class` Map [B] Standard implementation of a mapped iterator.

Trait Summary
`abstract` | `trait` Buffered

Def Summary
| `def` buffered0 : scala.collection.jcl.MutableIterator[A]#Buffered
`override` | `def` filter (f: (A) => scala.Boolean) : scala.collection.jcl.MutableIterator[A]
| `def` has (a: A) : scala.Boolean A type-safe version of contains.
`override` | `def` map [B] (f: (A) => B) : scala.collection.jcl.MutableIterator[B]
| `def` remove (a: A) : scala.Boolean Finds and removes the first instance of "a" through the iterator. After execution, the iterator's cursor is located where the removed element existed.
`abstract` | `def` remove : scala.Unit
| `def` retain (p: (A) => scala.Boolean) : scala.Boolean Removes all elements in the iterator that predicate "p" returns false on.

Def inherited from scala.Iterator[A]
++ , /:, :\, addString, append, buffered, contains, copyToArray, copyToBuffer, counted, drop, dropWhile, duplicate, exists, filter, find, flatMap, foldLeft, foldRight, forall, foreach, hasNext, map, mkString, mkString, next, predicatedIterator, reduceLeft, reduceRight, take, takeWhile, toList, zip, zipWithIndex

Trait Detail

`abstract trait` Buffered
  `extends` java.lang.Object
  `with` scala.collection.jcl.MutableIterator[A]
  `with` scala.ScalaObject

Direct Known Subclasses:
  BufferedImpl, BufferedImpl, BufferedImpl

Class Summary
| `class` Filter

Def Summary
`override` | `def` buffered0 : Buffered.this.type
`abstract` | `def` peekNext : A
| `def` seekNext (f: (A) => scala.Boolean) : scala.Option[A]

Def inherited from scala.collection.jcl.MutableIterator[A]
buffered0 , filter, has, map, remove, remove, retain

Def Detail

`override def` buffered0 : Buffered.this.type

`abstract def` peekNext : A

`def` seekNext (f: (A) => scala.Boolean): scala.Option[A]

Def Detail

`def` buffered0 : scala.collection.jcl.MutableIterator[A]#Buffered

`override def` filter (f: (A) => scala.Boolean): scala.collection.jcl.MutableIterator[A]

`def` has (a: A): scala.Boolean

  A type-safe version of contains.

`override def` map [B](f: (A) => B): scala.collection.jcl.MutableIterator[B]

`def` remove (a: A): scala.Boolean

  Finds and removes the first instance of "a" through the iterator. After execution, the iterator's cursor is located where the removed element existed.

Parameters:
  `a -` ..
Returns:
  `false` if "a" is not encountered in the iterator and the iterator's cursor is located at the end of its elements.

`abstract def` remove : scala.Unit

`def` retain (p: (A) => scala.Boolean): scala.Boolean

  Removes all elements in the iterator that predicate "p" returns false on.