public static List < List < DTCellValue52 > > makeDataLists ( Object [ ] [ ] oldData ) { List < List < DTCellValue52 >> newData = new ArrayList < List < DTCellValue52 > > ( ) ; for ( int iRow = 0 ; iRow < oldData . length ; iRow ++ ) { Object [ ] oldRow = oldData [ iRow ] ; List < DTCellValue52 > newRow = makeDataRowList ( oldRow ) ; newData . add ( newRow ) ; } return newData ; }
Convert a two - dimensional array of Strings to a List of Lists with type - safe individual entries