mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 17:51:09 +07:00
20 lines
254 B
Java
20 lines
254 B
Java
|
|
import java.util.Collection;
|
|
|
|
|
|
interface C<K extends String> extends Collection<K> {}
|
|
|
|
class Test {
|
|
|
|
C<?> id;
|
|
|
|
|
|
static <T extends CharSequence> T get(Collection<? extends T> id) {
|
|
return null;
|
|
}
|
|
|
|
String getObj() {
|
|
return get( id);
|
|
}
|
|
|
|
} |