I need a 2 dimensional array list, need to be able to do things like...
ArrayList2D al2d = new ArrayList2D();
al2d.insertColu mnAt(1);
al2d.insertColu mnAt(1);
al2d.insertColu mnAt(1);
al2d.insertRowA t(1);
al2d.insertRowA t(1);
al2d.insertRowA t(1);
al2d.insertRowA t(1);
al2d.setValue(2 ,3,value);
al2d.moveRow(ro wToMove, rowLocation);
al2d.deleteColu mnAt(columnToDe lete);
etc...
The choices seem to be...
- build my own thing an arraylist of arraylists
- ditto for plane arrays
- use dataTable (but there is no insertColumnAt support)
I would like the choice to be :)
- multidimensiona l arrayList already available from http://somesmartguy.com
-- Has anyone solved this one, or have advice ?
-- Andrew
ArrayList2D al2d = new ArrayList2D();
al2d.insertColu mnAt(1);
al2d.insertColu mnAt(1);
al2d.insertColu mnAt(1);
al2d.insertRowA t(1);
al2d.insertRowA t(1);
al2d.insertRowA t(1);
al2d.insertRowA t(1);
al2d.setValue(2 ,3,value);
al2d.moveRow(ro wToMove, rowLocation);
al2d.deleteColu mnAt(columnToDe lete);
etc...
The choices seem to be...
- build my own thing an arraylist of arraylists
- ditto for plane arrays
- use dataTable (but there is no insertColumnAt support)
I would like the choice to be :)
- multidimensiona l arrayList already available from http://somesmartguy.com
-- Has anyone solved this one, or have advice ?
-- Andrew