mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-17 18:50:49 +07:00
b3d9ff9874
(cherry picked from commit dc1b25b74db12a5282332b5bae1d10da1aed99e8)
15 lines
315 B
Java
15 lines
315 B
Java
class Test {
|
|
void test(Helper<Integer> helper) {
|
|
staticFactory(helper, Integer[]::new);
|
|
}
|
|
|
|
<P_OUT> void staticFactory(Helper<P_OUT> helper,
|
|
IntFunction<P_OUT[]> generator){}
|
|
|
|
class Helper<K> {}
|
|
|
|
interface IntFunction<R> {
|
|
R apply(int value);
|
|
}
|
|
}
|