How to store random coordinates?

A bit of help with ArrayLists;

ArrayList<Integer> abc = new ArrayList<Integer>();
abc.add(123); 
println(abc.get(0)*2); //it acts the same as int value = 123;

essentially ArrayListName.get(<id>) acts the same as varriableName.

It helps if you want to do something like:

ArrayList<ArrayList<Float>> info = new ArrayList<ArrayList<Float>>();