mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-30 01:20:53 +07:00
16 lines
325 B
Java
16 lines
325 B
Java
import java.util.Collection;
|
|
import java.util.List;
|
|
|
|
class Testsss {
|
|
|
|
public <TA, CA extends Iterable<TA>> void that(Iterable<TA> target) {}
|
|
|
|
public <T, C extends Collection<T>> void that(Collection<T> target) {}
|
|
|
|
void foo(ImmutableList<String> l) {
|
|
that( l);
|
|
}
|
|
|
|
interface ImmutableList<T> extends List<T> {}
|
|
}
|