mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 17:51:09 +07:00
16 lines
242 B
Java
16 lines
242 B
Java
class MyTest {
|
|
|
|
static class Foo<T> {
|
|
T m() {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
interface I {
|
|
Integer m(Foo<Integer> f);
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
I i = Foo::m;
|
|
}
|
|
} |