public synchronized TableModel < V > insertRow ( int index , Collection < V > values ) { ArrayList < V > list = new ArrayList < V > ( values ) ; rows . add ( index , list ) ; for ( Listener < V > listener : listeners ) { listener . onRowAdded ( this , index ) ; } return this ; }
Inserts a new row to the table model at a particular index