diff options
author | Martin Odersky <odersky@gmail.com> | 2009-12-10 17:00:59 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2009-12-10 17:00:59 +0000 |
commit | 1ba4b3586601612c0debb63fa40306d868e9fcad (patch) | |
tree | d67a8a1d4bb7ebda1a2574e643195d7853667f25 /src/library/scala/collection/IterableLike.scala | |
parent | 670bbca782b7232842e0036a4be79626660b1802 (diff) | |
download | scala-1ba4b3586601612c0debb63fa40306d868e9fcad.tar.gz scala-1ba4b3586601612c0debb63fa40306d868e9fcad.tar.bz2 scala-1ba4b3586601612c0debb63fa40306d868e9fcad.zip |
refined doc comments generation; refactored cod...
refined doc comments generation; refactored code into new Chars,
DocStrings classes in util. Added some more doc comments to collection
classes.
Diffstat (limited to 'src/library/scala/collection/IterableLike.scala')
-rw-r--r-- | src/library/scala/collection/IterableLike.scala | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/library/scala/collection/IterableLike.scala b/src/library/scala/collection/IterableLike.scala index 66f63dd2f5..41dc774cd9 100644 --- a/src/library/scala/collection/IterableLike.scala +++ b/src/library/scala/collection/IterableLike.scala @@ -79,17 +79,7 @@ self => * Note: this method underlies the implementation of most other bulk operations. * Subclasses should re-implement this method if a more efficient implementation exists. * - * @param f the function that is applied for its side-effect to every element. - * The result of function `f` is discarded. - * - * @tparam U the type parameter describing the result of function `f`. - * This result will always be ignored. Typically `U` is `Unit`, - * but this is not necessary. - * * @usecase def foreach(f: A => Unit): Unit - * - * @param f the function that is applied for its side-effect to every element. - * The result of function `f` is discarded. */ def foreach[U](f: A => U): Unit = iterator.foreach(f) |