scala.collection.jcl.MutableIterable

class Map

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

protected class Map[B](f : (A) => B)
extends MutableIterable[B]
The default implementation of a map over mutable iterable collections.
Direct Known Subclasses:
MutableSeq.Map

Method Summary
override def elements : MutableIterator[B]
Creates a new iterator over all elements contained in this object.
override def size : Int
Returns the number of elements in this collection.
override def toString : String
Methods inherited from MutableIterable
has, remove, removeAll, --, -, retain, retainAll, size0, clear, projection
Methods inherited from Collection
toArray, stringPrefix
Methods inherited from Iterable
concat, ++, map, flatMap, filter, takeWhile, dropWhile, take, drop, foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, mkString, mkString, addString, addString, copyToArray, isEmpty, 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 : MutableIterator[B]
Creates a new iterator over all elements contained in this object.
Returns
the new iterator
Overrides
MutableIterable.elements

override def toString : String

override def size : Int
Returns the number of elements in this collection.
Returns
number of collection elements.