second part of r22260
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22326 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
174a0f84ec
commit
a30fa08489
|
@ -135,7 +135,7 @@ extends SeqView[T, Coll]
|
|||
override def span(p: T => Boolean): (This, This) = (takeWhile(p), dropWhile(p))
|
||||
override def scanLeft[S, That](z: S)(op: (S, T) => S)(implicit bf: CanBuildFrom[This, S, That]): That = newForced(thisSeq.scanLeft(z)(op)).asInstanceOf[That]
|
||||
override def scanRight[S, That](z: S)(op: (T, S) => S)(implicit bf: CanBuildFrom[This, S, That]): That = newForced(thisSeq.scanRight(z)(op)).asInstanceOf[That]
|
||||
override def groupBy[K](f: T => K): collection.Map[K, This] = thisSeq.groupBy(f).mapValues(xs => newForced(xs).asInstanceOf[This])
|
||||
override def groupBy[K](f: T => K): collection.immutable.Map[K, This] = thisSeq.groupBy(f).mapValues(xs => newForced(xs).asInstanceOf[This])
|
||||
override def +:[U >: T, That](elem: U)(implicit bf: CanBuildFrom[This, U, That]): That = newPrepended(elem).asInstanceOf[That]
|
||||
override def reverse: This = newReversed.asInstanceOf[This]
|
||||
override def patch[U >: T, That](from: Int, patch: Seq[U], replaced: Int)(implicit bf: CanBuildFrom[This, U, That]): That = newPatched(from, patch, replaced).asInstanceOf[That]
|
||||
|
|
Loading…
Reference in New Issue