I have a double ArrayList in java like this.
ArrayList
List values = new ArrayList(2);
Now what I want t
Use two dimensional array instead. For instance, int values[][] = new int[2][5]; Arrays are faster, when you are not manipulating much.
int values[][] = new int[2][5];