diff options
Diffstat (limited to 'src/library/scalax/collection/generic/covartest/IterableView.scala')
-rwxr-xr-x | src/library/scalax/collection/generic/covartest/IterableView.scala | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/library/scalax/collection/generic/covartest/IterableView.scala b/src/library/scalax/collection/generic/covartest/IterableView.scala index 855e4d259b..43a1f68dc0 100755 --- a/src/library/scalax/collection/generic/covartest/IterableView.scala +++ b/src/library/scalax/collection/generic/covartest/IterableView.scala @@ -25,7 +25,7 @@ trait IterableView[+UC[+B] <: Iterable[B], +A] extends Iterable[A] { self => case _ => origin } - private def isDelay = elements eq underlying.elements + protected def isDelay = elements eq underlying.elements private[this] var forced: UC[A] = _ private[this] var wasForced = false @@ -100,15 +100,6 @@ trait IterableView[+UC[+B] <: Iterable[B], +A] extends Iterable[A] { self => /** Non-strict variant of @see Iterable.slice */ override def slice(from: Int, until: Int): IterableView[UC, A] = newView(elements slice (from, until)) - /** Non-strict variant of @see Iterable.takeWhile */ - override def takeWhile(p: A => Boolean): IterableView[UC, A] = newView(elements takeWhile p) - - /** Non-strict variant of @see Iterable.dropWhile */ - override def dropWhile(p: A => Boolean): IterableView[UC, A] = newView(elements dropWhile p) - - /** Non-strict variant of @see Iterable.span */ - override def span(p: A => Boolean): (IterableView[UC, A], IterableView[UC, A]) = (takeWhile(p), dropWhile(p)) - /** The projection resulting from the concatenation of this projection with the <code>rest</code> projection. * @param rest The projection that gets appended to this projection * @deprecated Use ++ instead |