question: protected List < T > createNewRow ( final T value , final int cols ) { ArrayList < T > row = new ArrayList < T > ( ) ; for ( int i = 0 ; i < cols ; i ++ ) { row . add ( value ) ; } return row ; }
target:  Create a new row for the table, with a specified value.