diff options
author | Philipp Haller <hallerp@gmail.com> | 2011-07-20 22:46:37 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2011-07-20 22:46:37 +0000 |
commit | 48d2c7814465ec6ce4139e49269947c6d38f023b (patch) | |
tree | d637d98ff29d899d17671d5f2bc39389db4c5298 | |
parent | c0ddb8f941dcb4ec0ca0aae0739406352e17cdfa (diff) | |
download | scala-48d2c7814465ec6ce4139e49269947c6d38f023b.tar.gz scala-48d2c7814465ec6ce4139e49269947c6d38f023b.tar.bz2 scala-48d2c7814465ec6ce4139e49269947c6d38f023b.zip |
Fixed doc comments of the keys and values metho...
Fixed doc comments of the keys and values methods in MapLike. No review
-rw-r--r-- | src/library/scala/collection/MapLike.scala | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/library/scala/collection/MapLike.scala b/src/library/scala/collection/MapLike.scala index 4850898ce8..f8dd9c1c79 100644 --- a/src/library/scala/collection/MapLike.scala +++ b/src/library/scala/collection/MapLike.scala @@ -178,15 +178,16 @@ self => def next() = iter.next._1 } - /** Creates an iterator for all keys. + /** Collects all keys of this map in an iterable collection. * - * @return an iterator over all keys. + * @return the keys of this map as an iterable. */ @migration(2, 8, "As of 2.8, keys returns Iterable[A] rather than Iterator[A].") def keys: Iterable[A] = keySet /** Collects all values of this map in an iterable collection. - * @return the values of this map as an iterable. + * + * @return the values of this map as an iterable. */ @migration(2, 8, "As of 2.8, values returns Iterable[B] rather than Iterator[B].") def values: Iterable[B] = new DefaultValuesIterable |