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, force, map, flatMap, append, takeWhile, filter

Methods inherited from Seq
size, isEmpty, concat, last, lastOption, headOption, ++, isDefinedAt, lastIndexOf, take, drop, slice, dropWhile, reverse, contains, subseq, toArray, equalsWith, startsWith, endsWith, indexOf, containsSlice

Methods inherited from Collection
toString

Methods inherited from Iterable
foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, toStream, mkString, 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.