Here is my case, I would like to create a matrix buffer for a 3d project I am working on.
Many people on Stack Overflow are proposing doing something like this
ArrayList<ArrayList<object>>
However this structures is causing issues as I need a fixed sized matrix and I am aware of the impact that add(i,object) as on the complexity of the operation. On the other hand my last nested level of my matrix needs to be of a variable size so if the object is at the same position it just adds it self to the stack.