scala.collection.SeqViewLike

trait Patched

[source: scala/collection/SeqViewLike.scala]

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

Value Summary
protected[this] abstract val from : Int
protected[this] abstract val patch : Seq[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 SeqViewLike
newAppended, newMapped, newFlatMapped, newFiltered, newSliced, newDroppedWhile, newTakenWhile, newZipped, newZippedAll, newReversed, newPatched, reverse, patch, padTo
Methods inherited from IterableViewLike
zip, zipWithIndex, zipAll
Methods inherited from TraversableViewLike
newBuilder, force, ++, ++, map, flatMap, filter, init, drop, take, slice, dropWhile, takeWhile, span, splitAt
Methods inherited from Seq
companion
Methods inherited from SeqLike
thisCollection, toCollection, lengthCompare, size, isDefinedAt, segmentLength, prefixLength, indexWhere, indexWhere, findIndexOf, indexOf, indexOf, lastIndexOf, lastIndexOf, lastIndexWhere, lastIndexWhere, reverseMap, reverseIterator, reversedElements, startsWith, startsWith, endsWith, indexOfSeq, indexOfSeq, lastIndexOfSeq, lastIndexOfSeq, contains, union, diff, intersect, removeDuplicates, updated, +:, :+, sortWith, sortWith, sortBy, toSeq, indices, view, view, hashCode, equals, toString, findLastIndexOf, equalsWith, containsSlice, projection
Methods inherited from IterableLike
elements, foreach, forall, exists, find, isEmpty, foldRight, reduceRight, toIterable, head, takeRight, dropRight, copyToArray, sameElements, toStream, canEqual, first, firstOption
Methods inherited from GenericTraversableTemplate
genericBuilder, unzip, flatten, transpose
Methods inherited from TraversableLike
repr, nonEmpty, hasDefiniteSize, filterNot, partialMap, remove, partition, groupBy, count, foldLeft, /:, :\, reduceLeft, reduceLeftOption, reduceRightOption, sum, product, min, max, headOption, tail, last, lastOption, copyToBuffer, copyToArray, toArray, toList, toIndexedSeq, toSet, mkString, mkString, mkString, addString, addString, addString, withFilter
Methods inherited from PartialFunction
orElse, andThen
Methods inherited from Function1
compose
Methods inherited from AnyRef
getClass, 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 : Seq[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.
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.