mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 11:50:57 +07:00
15 lines
331 B
Java
15 lines
331 B
Java
import java.util.*;
|
|
|
|
public class Test<T>
|
|
{
|
|
List<Collection<T>> getList ()
|
|
{
|
|
return new ArrayList<Collection<T>> ();
|
|
}
|
|
|
|
public void test2 (Test<?> arg)
|
|
{
|
|
final List<? extends Collection<?>> collection = result;
|
|
collection = arg.getList ();
|
|
}
|
|
} |