mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-29 16:50:55 +07:00
17 lines
197 B
Java
17 lines
197 B
Java
interface Pair<A extends String> {
|
|
A get();
|
|
}
|
|
|
|
class B {
|
|
<V extends String> void f(Pair<V> p) {
|
|
V v = p.get();
|
|
}
|
|
|
|
{
|
|
Pair<?> p = null;
|
|
<caret>f(p);
|
|
}
|
|
}
|
|
|
|
|