mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 03:07:47 +07:00
TerminalOperation: support parentheses in downstream collectors
GitOrigin-RevId: e3c63a4672b1527d57c0403d837cba453333c8cd
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7f16cce42a
commit
ada7cbea8b
@@ -14,7 +14,7 @@ public class Main {
|
||||
}
|
||||
|
||||
static void testCounting(List<String> list) {
|
||||
Map<Integer, Long> map = list.stream().collect(Collectors.groupingBy(String::length, Collectors.counting()));
|
||||
Map<Integer, Long> map = list.stream().collect(Collectors.groupingBy(String::length, (Collectors.counting())));
|
||||
System.out.println(map);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user