Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

git-svn-id: http://svn.assembla.com/svn/metascala@25 e0e46c49-be69-4f…

…5a-ad62-21024a331aea
  • Loading branch information...
commit c3408883581371024591a5b49930a6f45801ca01 1 parent f9a0168
mayhem authored
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/test/stream/SpecializedIterators2.scala
View
5 src/test/stream/SpecializedIterators2.scala
@@ -9,11 +9,6 @@ object SpecializedIterators2 {
def map[@specialized U](fn : T => U, dummy : T, dummy2 : U) = new MapIterator[T, U](this, fn)
}
- final class IntArrayIterator(a : Array[Int], var index : Int, endIndex : Int) extends SIterator[Int] {
- def next() = {val r = a(index); index += 1; r}
- def hasNext = index < endIndex
- }
-
final class ArrayIterator[@specialized T](a : Array[T], var index : Int, endIndex : Int) extends SIterator[T] {
def next() = {val r = a(index); index += 1; r}
def hasNext = index < endIndex
Please sign in to comment.
Something went wrong with that request. Please try again.