diff options
author | michelou <michelou@epfl.ch> | 2004-05-13 09:23:08 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2004-05-13 09:23:08 +0000 |
commit | 1e724a3d4618791ae027b7a70c7f2f3b5f5c5b75 (patch) | |
tree | e1ade3e43a44409c0bc02a422cba90cab4526e53 /sources | |
parent | 4fefd6bb118033c24874b799e2c15947521f10a2 (diff) | |
download | scala-1e724a3d4618791ae027b7a70c7f2f3b5f5c5b75.tar.gz scala-1e724a3d4618791ae027b7a70c7f2f3b5f5c5b75.tar.bz2 scala-1e724a3d4618791ae027b7a70c7f2f3b5f5c5b75.zip |
- updated comments.
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scala/Iterator.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/scala/Iterator.scala b/sources/scala/Iterator.scala index c05a010665..f1e5540f02 100644 --- a/sources/scala/Iterator.scala +++ b/sources/scala/Iterator.scala @@ -48,7 +48,7 @@ object Iterator { * * @param lo the start value of the iterator * @param end the end value of the iterator - * @return the iterator starting at value <code>lo</code>. + * @return the iterator with values in range [lo;end). */ def range(lo: Int, end: Int): Iterator[Int] = range(lo, end, 1); @@ -61,7 +61,7 @@ object Iterator { * @param lo the start value of the iterator * @param end the end value of the iterator * @param step the increment value of the iterator - * @return the iterator starting at value <code>lo</code>. + * @return the iterator with values in range [lo;end). */ def range(lo: Int, end: Int, step: Int) = new Iterator[Int] { private var i = lo; @@ -80,7 +80,7 @@ object Iterator { * @param lo the start value of the iterator * @param end the end value of the iterator * @param step the increment function of the iterator - * @return the iterator starting at value <code>lo</code>. + * @return the iterator with values in range [lo;end). */ def range(lo: Int, end: Int, step: Int => Int) = new Iterator[Int] { private var i = lo; |