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 1b6635a commit 313a696Copy full SHA for 313a696
docs/java/new-features/java8-common-new-features.md
@@ -627,7 +627,7 @@ public class MapAndFlatMapExample {
627
.collect(Collectors.toList());
628
629
System.out.println("Using map:");
630
- System.out.println(mapResult);
+ mapResult.forEach(arrays-> System.out.println(Arrays.toString(arrays)));
631
632
List<String> flatMapResult = listOfArrays.stream()
633
.flatMap(array -> Arrays.stream(array).map(String::toUpperCase))
0 commit comments