scala.collection.generic.SequenceViewTemplate

trait Patched

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

trait Patched[B >: A]
extends Transformed[B] with AnyRef
Direct Known Subclasses:
VectorViewTemplate.Patched

Value Summary
protected[this] abstract val from : Int
protected[this] abstract val patch : Sequence[B]
protected[this] abstract val replaced : Int
Values and Variables inherited from Transformed
underlying
Method Summary
override def apply (idx : Int) : B
Returns the elements at position `idx`
override def iterator : Iterator[B]
Creates a new iterator over all elements contained in this iterable object.
override 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 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, slice, 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, foreach, 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
Value Details
protected[this] abstract val from : Int

protected[this] abstract val patch : Sequence[B]

protected[this] abstract val replaced : Int

Method Details
override def iterator : Iterator[B]
Creates a new iterator over all elements contained in this iterable object.
Returns
the new iterator

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

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

override def stringPrefix : java.lang.String
Defines the prefix of this object's toString representation.