diff options
author | Lukas Rytz <lukas.rytz@typesafe.com> | 2015-02-05 13:34:39 +0100 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@typesafe.com> | 2015-02-05 13:34:39 +0100 |
commit | c23100bfc2720d40f191f97268c2d591e1ca9d85 (patch) | |
tree | a65be093855d213285ab9f56d53c0411d5b6f4f1 /src/library | |
parent | e3a171d76c9d596a8804897c1c6f27a069a0a18d (diff) | |
parent | 720ce5d7a111a8e5dcd380f0abe3a972a75392be (diff) | |
download | scala-c23100bfc2720d40f191f97268c2d591e1ca9d85.tar.gz scala-c23100bfc2720d40f191f97268c2d591e1ca9d85.tar.bz2 scala-c23100bfc2720d40f191f97268c2d591e1ca9d85.zip |
Merge pull request #4293 from BartoszJanota/patch-1
Patch 1 - Scala doc improved
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/collection/IterableLike.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/library/scala/collection/IterableLike.scala b/src/library/scala/collection/IterableLike.scala index 91ab1f6ac2..7643b84a8b 100644 --- a/src/library/scala/collection/IterableLike.scala +++ b/src/library/scala/collection/IterableLike.scala @@ -179,6 +179,7 @@ self => /** Groups elements in fixed size blocks by passing a "sliding window" * over them (as opposed to partitioning them, as is done in grouped.) + * "Sliding window" step is 1 by default. * @see [[scala.collection.Iterator]], method `sliding` * * @param size the number of elements per group @@ -194,7 +195,7 @@ self => * * @param size the number of elements per group * @param step the distance between the first elements of successive - * groups (defaults to 1) + * groups * @return An iterator producing ${coll}s of size `size`, except the * last and the only element will be truncated if there are * fewer elements than size. |