Scala Library
|
|
trait
MutableVectorTemplate[A, +This <: MutableVectorTemplate[A, This] with
Vector[A]]
extends
VectorTemplate[A, This]Method Summary | |
abstract def
|
update (idx : Int, elem : A) : Unit |
override def
|
view
: MutableVectorView[A, This]
Creates a view of this iterable @see Iterable.View
|
override def
|
view
(from : Int, until : Int) : MutableVectorView[A, This]
A sub-sequence view starting at index `from`
and extending up to (but not including) index `until`.
|
Methods inherited from VectorTemplate | |
iterator, isEmpty, foreach, forall, exists, find, foldLeft, foldRight, reduceLeft, reduceRight, zip, zipWithIndex, slice, head, tail, last, init, take, drop, takeRight, dropRight, splitAt, takeWhile, dropWhile, span, sameElements, copyToArray, lengthCompare, segmentLength, indexWhere, lastIndexWhere, reverse, reverseIterator, startsWith, endsWith, equals |
Methods inherited from SequenceTemplate | |
length (abstract), apply (abstract), size, isDefinedAt, zipAll, prefixLength, indexWhere, findIndexOf, indexOf, indexOf, lastIndexOf, lastIndexOf, lastIndexWhere, reversedElements, startsWith, indexOfSeq, indexOfSeq, lastIndexOfSeq, lastIndexOfSeq, contains, union, diff, intersect, removeDuplicates, patch, padTo, toSequence, indices, toString, sortWith, findLastIndexOf, slice, equalsWith, containsSlice, projection |
Methods inherited from IterableTemplate | |
elements, toIterable, toStream, first, firstOption, toSeq |
Methods inherited from TraversableTemplate | |
newBuilder (abstract), thisCollection, nonEmpty, hasDefiniteSize, ++, ++, map, flatMap, filter, filterMap, filterNot, remove, partition, groupBy, count, /:, :\, reduceLeftOption, reduceRightOption, headOption, lastOption, copyToBuffer, copyToArray, toArray, toList, toSet, mkString, mkString, mkString, addString, addString, addString, stringPrefix |
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
view : MutableVectorView[A, This]
override
def
view(from : Int, until : Int) : MutableVectorView[A, This]
from -
The index of the first element of the sliceuntil -
The index of the element following the slice
Scala Library
|
|