We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c40171d commit 7e6fc9eCopy full SHA for 7e6fc9e
src/docs/asciidoc/usage_guide.adoc
@@ -338,7 +338,7 @@ The new collections are based on http://docs.oracle.com/javase/8/docs/api/java/l
338
[source,java]
339
----
340
// 1000 random numbers
341
-for (double random : Stream.gen(Math::random).take(1000)) {
+for (double random : Stream.continually(Math::random).take(1000)) {
342
...
343
}
344
0 commit comments