diff options
author | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-09-17 04:40:37 -0700 |
---|---|---|
committer | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-09-17 04:40:37 -0700 |
commit | 9fb6875e2163f1b62863e28e94415463aef754f7 (patch) | |
tree | 8e1f9ad0e179583278029799f91c22b02fcf1470 /src/library/scala/collection/GenSeqLike.scala | |
parent | 5cf6a750eac94d159fe4c67b75e24dde13495e71 (diff) | |
parent | b5196d81356722a3c26c57037e05d42722592a6b (diff) | |
download | scala-9fb6875e2163f1b62863e28e94415463aef754f7.tar.gz scala-9fb6875e2163f1b62863e28e94415463aef754f7.tar.bz2 scala-9fb6875e2163f1b62863e28e94415463aef754f7.zip |
Merge pull request #1308 from soc/SI-4478
SI-4478 Replaces wrt with (hopefully) slightly improved wording.
Diffstat (limited to 'src/library/scala/collection/GenSeqLike.scala')
-rw-r--r-- | src/library/scala/collection/GenSeqLike.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/library/scala/collection/GenSeqLike.scala b/src/library/scala/collection/GenSeqLike.scala index 5d812c1494..6380e9380a 100644 --- a/src/library/scala/collection/GenSeqLike.scala +++ b/src/library/scala/collection/GenSeqLike.scala @@ -116,7 +116,7 @@ trait GenSeqLike[+A, +Repr] extends Any with GenIterableLike[A, Repr] with Equal * * @param elem the element value to search for. * @tparam B the type of the element `elem`. - * @return the index of the first element of this $coll that is equal (wrt `==`) + * @return the index of the first element of this $coll that is equal (as determined by `==`) * to `elem`, or `-1`, if none exists. * * @usecase def indexOf(elem: A): Int @@ -132,7 +132,7 @@ trait GenSeqLike[+A, +Repr] extends Any with GenIterableLike[A, Repr] with Equal * @param elem the element value to search for. * @tparam B the type of the element `elem`. * @param from the start index - * @return the index `>= from` of the first element of this $coll that is equal (wrt `==`) + * @return the index `>= from` of the first element of this $coll that is equal (as determined by `==`) * to `elem`, or `-1`, if none exists. * * @usecase def indexOf(elem: A, from: Int): Int @@ -147,7 +147,7 @@ trait GenSeqLike[+A, +Repr] extends Any with GenIterableLike[A, Repr] with Equal * * @param elem the element value to search for. * @tparam B the type of the element `elem`. - * @return the index of the last element of this $coll that is equal (wrt `==`) + * @return the index of the last element of this $coll that is equal (as determined by `==`) * to `elem`, or `-1`, if none exists. * * @usecase def lastIndexOf(elem: A): Int @@ -163,7 +163,7 @@ trait GenSeqLike[+A, +Repr] extends Any with GenIterableLike[A, Repr] with Equal * @param elem the element value to search for. * @param end the end index. * @tparam B the type of the element `elem`. - * @return the index `<= end` of the last element of this $coll that is equal (wrt `==`) + * @return the index `<= end` of the last element of this $coll that is equal (as determined by `==`) * to `elem`, or `-1`, if none exists. * * @usecase def lastIndexOf(elem: A, end: Int): Int |