scala.collection.jcl.MutableSeq

class Map

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

protected class Map[B](f : (A) => B)
extends Map[B] with MutableSeq[B]
The default implementation of a map over mutable iterable collections.
Method Summary
override def apply (idx : Int) : B
override def elements : SeqIterator[Int, B]
Creates a new iterator over all elements contained in this object.
override def size : Int
should always be length
Methods inherited from MutableSeq
isEmpty, projection, indexOf, length
Methods inherited from Seq
concat, ++, isDefinedAt, lastIndexOf, map, flatMap, filter, take, drop, takeWhile, dropWhile, reverse, contains, slice, subseq, toArray
Methods inherited from PartialFunction
orElse, andThen
Methods inherited from Function1
toString, compose
Methods inherited from MutableIterable
has, remove, removeAll, --, -, retain, retainAll, size0, clear
Methods inherited from Collection
stringPrefix
Methods inherited from Iterable
foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, mkString, mkString, addString, addString, copyToArray, hasDefiniteSize
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
override def elements : SeqIterator[Int, B]
Creates a new iterator over all elements contained in this object.
Returns
the new iterator
Overrides
Map.elements, MutableSeq.elements

override def apply(idx : Int) : B
Overrides
MutableSeq.apply

override def size : Int
should always be length
Overrides
Map.size