mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
20 lines
250 B
Java
20 lines
250 B
Java
class Foo {
|
|
interface I<T> {
|
|
T m(Object op);
|
|
}
|
|
|
|
interface J<T> {
|
|
void m(T o);
|
|
}
|
|
|
|
|
|
void f(J r) {}
|
|
void f(I<String> r) {}
|
|
|
|
{
|
|
f((a) -> {
|
|
int c = 1;
|
|
return c;
|
|
});
|
|
}
|
|
} |