scala.collection.generic.SequenceViewTemplate

trait Sliced

[source: scala/collection/generic/SequenceViewTemplate.scala]

trait Sliced
extends Transformed[A] with Sliced
pre: from >= 0
Direct Known Subclasses:
VectorViewTemplate.Sliced

Values and Variables inherited from Sliced
from (abstract), until (abstract)
Values and Variables inherited from Transformed
underlying
Method Summary
override def apply (idx : Int) : A
Returns the elements at position `idx`
override def length : Int
Returns the length of the sequence.
Methods inherited from Sliced
iterator
Methods inherited from Sliced
foreach, stringPrefix, slice
Methods inherited from SequenceViewTemplate
newAppended, newMapped, newFlatMapped, newFiltered, newSliced, newDroppedWhile, newTakenWhile, newReversed, newPatched, newZipped, reverse, patch, padTo, zip, zipWithIndex, zipAll
Methods inherited from TraversableViewTemplate
newBuilder, force, ++, ++, map, flatMap, filter, init, drop, take, dropWhile, takeWhile, span, splitAt
Methods inherited from Sequence
companion
Methods inherited from SequenceTemplate
lengthCompare, size, isDefinedAt, segmentLength, prefixLength, indexWhere, indexWhere, findIndexOf, indexOf, indexOf, lastIndexOf, lastIndexOf, lastIndexWhere, lastIndexWhere, reverseIterator, reversedElements, startsWith, startsWith, endsWith, indexOfSeq, indexOfSeq, lastIndexOfSeq, lastIndexOfSeq, contains, union, diff, intersect, removeDuplicates, toSequence, indices, view, view, equals, toString, sortWith, findLastIndexOf, slice, equalsWith, containsSlice, projection
Methods inherited from IterableTemplate
elements, isEmpty, foldRight, reduceRight, toIterable, head, takeRight, dropRight, sameElements, toStream, first, firstOption, toSeq
Methods inherited from TraversableClass
genericBuilder, unzip, flatten, transpose
Methods inherited from TraversableTemplate
thisCollection, nonEmpty, hasDefiniteSize, filterMap, filterNot, remove, partition, groupBy, forall, exists, count, find, foldLeft, /:, :\, reduceLeft, reduceLeftOption, reduceRightOption, headOption, tail, last, lastOption, copyToBuffer, copyToArray, copyToArray, toArray, toList, toSet, mkString, mkString, mkString, addString, addString, addString
Methods inherited from PartialFunction
orElse, andThen
Methods inherited from Function1
compose
Methods inherited from AnyRef
getClass, hashCode, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
override def length : Int
Returns the length of the sequence.
Returns
the sequence length.
Overrides
Transformed.length

override def apply(idx : Int) : A
Returns the elements at position `idx`
Overrides
Transformed.apply