mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
20 lines
351 B
Java
20 lines
351 B
Java
import java.util.*;
|
|
|
|
class Test {
|
|
public static void main(String[] args) {
|
|
new A<>(new B<>(of("")));
|
|
}
|
|
|
|
static <E> List<E> of(E element) {
|
|
return null;
|
|
}
|
|
|
|
static class A<K> {
|
|
A(String s) {}
|
|
A(B<K> b) {}
|
|
}
|
|
|
|
static class B<T> extends ArrayList<List<T>> {
|
|
public B(List<T> l) {}
|
|
}
|
|
} |