diff options
author | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2010-04-08 16:09:24 +0000 |
---|---|---|
committer | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2010-04-08 16:09:24 +0000 |
commit | 0e437ba3095d732430a8b8cbd468aa74e5b307fe (patch) | |
tree | eb275f6cecdff1708be43e52d344237026f4f620 /src/library/scala/collection/SeqLike.scala | |
parent | 24bc8b350a9a54b5286fa5fbdf308dd34c2a736e (diff) | |
download | scala-0e437ba3095d732430a8b8cbd468aa74e5b307fe.tar.gz scala-0e437ba3095d732430a8b8cbd468aa74e5b307fe.tar.bz2 scala-0e437ba3095d732430a8b8cbd468aa74e5b307fe.zip |
More cleanups in docs. Review by odersky.
Diffstat (limited to 'src/library/scala/collection/SeqLike.scala')
-rw-r--r-- | src/library/scala/collection/SeqLike.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/collection/SeqLike.scala b/src/library/scala/collection/SeqLike.scala index 6c33873820..c35039c520 100644 --- a/src/library/scala/collection/SeqLike.scala +++ b/src/library/scala/collection/SeqLike.scala @@ -296,7 +296,7 @@ trait SeqLike[+A, +Repr] extends IterableLike[A, Repr] { self => * @return the index `>= from` of the first element of this $coll that is equal (wrt `==`) * to `elem`, or `-1`, if none exists. * - * @usecase def indexOf(elem: A): Int + * @usecase def indexOf(elem: A, from: Int): Int */ def indexOf[B >: A](elem: B, from: Int): Int = indexWhere(elem ==, from) @@ -321,7 +321,7 @@ trait SeqLike[+A, +Repr] extends IterableLike[A, Repr] { self => * @return the index `<= end` of the last element of this $coll that is equal (wrt `==`) * to `elem`, or `-1`, if none exists. * - * @usecase def lastIndexOf(elem: A): Int + * @usecase def lastIndexOf(elem: A, end: Int): Int */ def lastIndexOf[B >: A](elem: B, end: Int): Int = lastIndexWhere(elem ==, end) |