scala.Seq.Projection

class ComputeSize

[source: scala/Seq/Projection.scala]

protected abstract class ComputeSize[B]
extends Projection[B]
Method Summary
def apply (idx : Int) : B
override def length : Int
Returns the length of the sequence.
Methods inherited from Projection
projection, force, map, flatMap, append, takeWhile, filter
Methods inherited from Seq
lengthCompare, 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, stringPrefix
Methods inherited from Iterable
elements (abstract), 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 apply(idx : Int) : B

override def length : Int
Returns the length of the sequence.
Returns
the sequence length.