Now it works. Thank you.
Type: Posts; User: fireatmuself
Now it works. Thank you.
Do you mean
final ArrayList<List<Integer>> someList = new ArrayList<List<Integer>>(); ?
When I write as you said to, I get this error: type parameter List<java.lang.Integer> is not within...
I want to make a generic list class for, let's say, storing a graph. For each node (raging from 1 to n) I keep a linked list for it's neighbors. But I don't want to make an array of lists. I want to...