mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-23 00:42:21 +07:00
31990e349d
GitOrigin-RevId: 2ca51ee0d02ff7d36cd59efb8ce6b81af2372ea7
11 lines
285 B
Java
11 lines
285 B
Java
// "Create method 'getKey'" "true-preview"
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.stream.Collectors;
|
|
import java.util.stream.Stream;
|
|
|
|
class X {
|
|
void x() {
|
|
Map<Double, List<String>> map = Stream.of("x").collect(Collectors.groupingBy(<caret>getKey()));
|
|
}
|
|
} |