scala.RandomAccessSeq

trait Projection

[source: scala/RandomAccessSeq.scala]

trait Projection[+A]
extends Projection[A] with RandomAccessSeq[A]
Direct Known Subclasses:
RandomAccessSeq.Projection.MapProjection

Method Summary
override def drop (n : Int) : Projection[A]
non-strict
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 reverse : Projection[A]
non-strict
override def slice (from : Int, until : Int) : Projection[A]
non-strict
override def take (n : Int) : Projection[A]
non-strict
Methods inherited from RandomAccessSeq
elements, +++
Methods inherited from Projection
flatMap, filter
Methods inherited from Seq
length (abstract), size, isEmpty, concat, last, ++, isDefinedAt, lastIndexOf, takeWhile, dropWhile, contains, subseq, toArray
Methods inherited from Collection
toString, stringPrefix, 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
apply (abstract), compose
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Class Summary
protected class MapProjection [B](f : (A) => B) extends MapProjection[B] with Projection[B]
Method Details
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.
Overrides
Projection.projection, RandomAccessSeq.projection

override def map[B](f : (A) => B) : Projection[B]
non-strict
Overrides
Projection.map

override def drop(n : Int) : Projection[A]
non-strict

override def take(n : Int) : Projection[A]
non-strict

override def slice(from : Int, until : Int) : Projection[A]
non-strict

override def reverse : Projection[A]
non-strict