|
Scala Library
|
|
scala/Iterable.scala]
trait
Projection[+A]
extends Iterable[A]| Method Summary | |
def
|
append
[B >: A](rest : => Iterable[B]) : Projection[B]
The projection resulting from the concatenation of this projection with the
rest projection. |
override def
|
filter
(p : (A) => Boolean) : Projection[A]
non-strict
|
override def
|
flatMap
[B](f : (A) => Iterable[B]) : Projection[B]
non-strict
|
def
|
force
: Iterable[A]
convert to a copied strict collection
|
override def
|
map
[B](f : (A) => B) : Projection[B]
non-strict
|
override def
|
projection
: Projection[A]
returns a projection that can be used to call non-strict
filter,
map, and flatMap methods that build projections
of the collection. |
override def
|
takeWhile
(p : (A) => Boolean) : Projection[A]
non-strict
|
| Methods inherited from Iterable | |
| elements (abstract), concat, ++, partition, dropWhile, take, drop, foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, toSeq, toStream, mkString, mkString, mkString, addString, addString, addString, copyToArray, isEmpty, hasDefiniteSize |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Method Details |
override
def
projection : Projection[A]
filter,
map, and flatMap methods that build projections
of the collection.override
def
filter(p : (A) => Boolean) : Projection[A]
override
def
map[B](f : (A) => B) : Projection[B]
override
def
flatMap[B](f : (A) => Iterable[B]) : Projection[B]
override
def
takeWhile(p : (A) => Boolean) : Projection[A]
def
append[B >: A](rest : => Iterable[B]) : Projection[B]
rest projection.rest - The projection that gets appended to this projection|
Scala Library
|
|