mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
17 lines
191 B
Java
17 lines
191 B
Java
package pck;
|
|
|
|
interface A<T>
|
|
{
|
|
T foo();
|
|
}
|
|
|
|
interface B<T> extends A<T[]> { }
|
|
|
|
class C<T extends A<Object[]> & B<Object>>
|
|
{
|
|
void foo(T x)
|
|
{
|
|
Object[] foo = x.foo();
|
|
}
|
|
}
|