scala.Seq.Projection
class MapProjection

[source: `scala/Seq/Projection.scala`]

`protected` `class` MapProjection[B](f : (A) => B)
  `extends` Projection[B]

Direct Known Subclasses:
  RandomAccessSeq.Projection.MapProjection

Method Summary
`def` | apply (idx : Int) : B
`def` | elements : Iterator[B] Creates a new iterator over all elements contained in this object.
`def` | length : Int Returns the length of the sequence.
`override def` | stringPrefix : String Defines the prefix of this object's `toString` representation.

Methods inherited from Projection
projection, map, flatMap, filter

Methods inherited from Seq
size, isEmpty, concat, last, ++, isDefinedAt, lastIndexOf, take, drop, takeWhile, dropWhile, reverse, contains, slice, subseq, toArray

Methods inherited from Collection
toString, equalWith

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 PartialFunction
orElse, andThen

Methods inherited from Function1
compose

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

`` `def` length : Int

  Returns the length of the sequence.

Returns
  the sequence length.

`` `def` elements : Iterator[B]

  Creates a new iterator over all elements contained in this object.

Returns
  the new iterator

`` `def` apply(idx : Int) : B

`override` `def` stringPrefix : String

  Defines the prefix of this object's `toString` representation.