mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
new inference: cls copy replacement
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import java.util.Map;
|
||||
import java.util.stream.Collector;
|
||||
|
||||
|
||||
public class Bug {
|
||||
|
||||
|
||||
{
|
||||
Collector<String, ?, Map<String, Long>> stringTreeMapCollector = groupingBy(counting());
|
||||
}
|
||||
|
||||
public static <T, D, M extends Map<String, D>> Collector<T, ?, M> groupingBy(Collector<? super T, ?, Long> downstream) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static <Tc> Collector<Tc, ?, Long> counting() {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user