Do you need a matrix-like data structure, or a 2 dimensional vector for math/physics?

If you need the first, see Multi-dimension arraylist example

Arraylists are generally preferred over...