Saikrishna Vemuri wrote:my concern is adding items to the list .
OK, well firstly, you're going to need to add them in order (or at least it's going to be an awful lot easier), because an ArrayList is NOT an array. To be honest, if this structure is meant to simulate a matrix, I'd suggest that you use a Map rather than a "2D" ArrayList; otherwise just use a plain old 2D array (sorry Campbell), viz:
SomeClass[][] = new SomeClass[10][10];
I think perhaps you need to explain a bit more about what you want to do.
Winston