Scala Library
|
|
scala/Seq/Projection.scala
]
protected
class
MapProjection[B](f : (A) => B)
extends
Projection[B]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
: java.lang.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 | |
lengthCompare, size, isEmpty, concat, last, lastOption, first, firstOption, headOption, ++, isDefinedAt, lastIndexOf, findIndexOf, indexOf, take, drop, slice, slice, dropWhile, reverse, contains, subseq, toArray, toSeq, equalsWith, startsWith, startsWith, endsWith, indexOf, containsSlice |
Methods inherited from Collection | |
toString |
Methods inherited from Iterable | |
partition, foreach, forall, exists, find, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, toStream, mkString, mkString, mkString, addString, 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
override
def
stringPrefix : java.lang.String
toString
representation.
Scala Library
|
|