mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 13:20:56 +07:00
14 lines
179 B
Java
14 lines
179 B
Java
import java.util.List;
|
|
|
|
class Test {
|
|
void f(List<? extends I<?>> list) {
|
|
foo(list.get(0));
|
|
}
|
|
|
|
private <T> T foo(I<T> id) {
|
|
return null;
|
|
}
|
|
|
|
interface I<Z> {
|
|
}
|
|
} |