scala.collection.generic.VectorViewTemplate

trait Mapped

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

trait Mapped[B]
extends Transformed[B] with Mapped[B]
Values and Variables inherited from Mapped
mapping (abstract)
Values and Variables inherited from Transformed
underlying
Method Summary
override def foreach [U](f : (B) => U) : Unit
Apply a function f to all elements of this traversable object.
Methods inherited from Mapped
length, apply
Methods inherited from Mapped
iterator
Methods inherited from Mapped
stringPrefix
Methods inherited from VectorViewTemplate
newAppended, newMapped, newFlatMapped, newFiltered, newSliced, newDroppedWhile, newTakenWhile, newReversed, newPatched, newZipped
Methods inherited from SequenceViewTemplate
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 Vector
companion
Methods inherited from VectorTemplate
isEmpty, forall, exists, find, foldLeft, foldRight, reduceLeft, reduceRight, head, tail, last, takeRight, dropRight, sameElements, copyToArray, lengthCompare, segmentLength, indexWhere, lastIndexWhere, reverseIterator, startsWith, endsWith, equals, view, view
Methods inherited from SequenceTemplate
size, isDefinedAt, prefixLength, indexWhere, findIndexOf, indexOf, indexOf, lastIndexOf, lastIndexOf, lastIndexWhere, reversedElements, startsWith, indexOfSeq, indexOfSeq, lastIndexOfSeq, lastIndexOfSeq, contains, union, diff, intersect, removeDuplicates, toSequence, indices, toString, sortWith, findLastIndexOf, slice, equalsWith, containsSlice, projection
Methods inherited from IterableTemplate
elements, toIterable, toStream, first, firstOption, toSeq
Methods inherited from TraversableClass
genericBuilder, unzip, flatten, transpose
Methods inherited from TraversableTemplate
thisCollection, nonEmpty, hasDefiniteSize, filterMap, filterNot, remove, partition, groupBy, count, /:, :\, reduceLeftOption, reduceRightOption, headOption, lastOption, copyToBuffer, 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 foreach[U](f : (B) => U) : Unit
Apply a function f to all elements of this traversable object.
Parameters
f - A function that is applied for its side-effect to every element. The result (of arbitrary type U) of function `f` is discarded.
Notes
This method underlies the implementation of most other bulk operations. Implementing `foreach` with `iterator` is often suboptimal. So `foreach` should be overridden in concrete collection classes if a more efficient implementation is available.