public void insert(int rowIndex,Iterable<? extends T> newItems){
  int ri=rowIndex;
  int ri2=rowIndex - 1;
  for (  T t : newItems) {
    ri2++;
    items.add(ri2,t);
  }
  fireTableRowsInserted(ri,ri2);
}

public void insert ( int rowIndex , Iterable < ? extends T > newItems ) { int ri = rowIndex ; int ri2 = rowIndex - 1 ; for ( T t : newItems ) { ri2 ++ ; items . add ( ri2 , t ) ; } fireTableRowsInserted ( ri , ri2 ) ; }
insert new records at a specified index .
