public int add(T item){
  data.add(item);
  fireTableRowsInserted(data.size(),data.size());
  return data.size();
}

public int add ( T item ) { data . add ( item ) ; fireTableRowsInserted ( data . size ( ) , data . size ( ) ) ; return data . size ( ) ; }
adds the given item to the end .
