mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-31 19:50:55 +07:00
8 lines
184 B
Java
8 lines
184 B
Java
abstract class A<T>{
|
|
abstract <S> S foo(S x, S y);
|
|
<S extends Number & Comparable<?>> void baz(A<S> a){}
|
|
|
|
void bar(A<Long> x, A<Integer> y){
|
|
baz(foo(x, y));
|
|
}
|
|
} |