Wildcard with multiple bounds
Hi everyone,
There is a nice explanation in Angelika Langer FAQ why there isn't
thing such T super SomeType, but I couldn't find anything about
multiple bounds on wildcards. Why is it not allowed ? What are the
reasons ?
Also, wildcards can extend arrays, like:
List<?extendsint[]> l=...
1) What is the benefit of that ? What can I do with it comparing to:
List<int[]> l=...
2) Why isn't there type parameter counterpart ?
MyClass<Textendsint[]>{...}
Perhaps if I get the answer to my first question, the second one
will be obvious ... ;)
Thanks a lot !
Adrian

