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 85b469c commit 9f01f74Copy full SHA for 9f01f74
src/main/java/com/xu/java8/Stream/Collect.java
@@ -37,6 +37,7 @@ public static void main(String[] args) {
37
.collect(Collectors.partitioningBy(startA));
38
System.out.println(map2);
39
40
+
41
Predicate<String> end1 = x -> x.endsWith("1");
42
Map<Boolean, Map<Boolean, List<String>>> map3 = stringCollection.stream()
43
.collect(Collectors.partitioningBy(startA, Collectors.partitioningBy(end1)));
0 commit comments