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 4901491 commit 2db1dbcCopy full SHA for 2db1dbc
docs/book/14-Streams.md
@@ -54,7 +54,7 @@ public class ImperativeRandoms {
54
Random rand = new Random(47);
55
SortedSet<Integer> rints = new TreeSet<>();
56
while(rints.size() < 7) {
57
- int r = rand.nextint(20);
+ int r = rand.nextInt(20);
58
if(r < 5) continue;
59
rints.add(r);
60
}
0 commit comments