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