private int [ ] rows ( ) { int [ ] rowIndexes = new int [ rowCount ( ) ] ; for ( int i = 0 ; i < rowCount ( ) ; i ++ ) { rowIndexes [ i ] = i ; } return rowIndexes ; }
Returns an array of ints of the same number of rows as the table