code: public int[] getRow(int rowIndex) {
          if (isCompacted) {
              throw new IllegalStateException(
                      "Illegal Invocation of the method after compact()");
          }
          if (rowIndex < 0 || rowIndex > rows) {
              throw new IllegalArgumentException("rowIndex out of bound!");
          }
          int[] rowToReturn = new int[columns - 2];
          System.arraycopy(v, rowIndex * columns + 2, rowToReturn, 0,
                           columns - 2);
          return rowToReturn;
      }
docs: /*
  Returns an array which contains value elements
  in row rowIndex.
  
  @throws IllegalStateException
  @throws IllegalArgumentException