How come, in Java, I can write
List> list = new LinkedList();
but not
List>
Each parameterization must be wildcarded:
List extends Container>> list = new LinkedList>();
Edit: I was searching through Angelika Langer's FAQ for an explanation, but didn't find one (it's probably there, but hiding somewhere in the 500 pages).
The way to think about this is that each parameterization is independent, and the compiler will not infer information about the parameterization unless you explicitly say to do so.