I have a arrayList done this way:
ArrayList<ArrayList<Double>> level = new ArrayList<ArrayList<Double>>(levels + 1);
So something like: enter image description here
What I would do is add a new element to the internal list saved in a certain index i of the external list.
How can I do this?
I can't use method arrayList.add(i, 0.0);.