public void deleteRows(int row,int length) throws TableException {
  if (row < 0 || length < 0 || row + length > this.nrow) {
    throw new TableException("Invalid request to delete rows start: " + row + " length:"+ length+ " for table with "+ this.nrow+ " rows.");
  }
  if (length == 0) {
    return;
  }
  for (int col=0; col < this.arrays.length; col+=1) {
    int sz=this.sizes[col];
    int newSize=sz * (this.nrow - length);
    Object newArr=ArrayFuncs.newInstance(this.bases[col],newSize);
    System.arraycopy(this.arrays[col],0,newArr,0,row * sz);
    System.arraycopy(this.arrays[col],(row + length) * sz,newArr,row * sz,(this.nrow - row - length) * sz);
    this.arrays[col]=newArr;
  }
  this.nrow-=length;
  initializePointers();
}

public void deleteRows ( int row , int length ) throws TableException { if ( row < 0 || length < 0 || row + length > this . nrow ) { throw new TableException ( "Invalid request to delete rows start: " + row + " length:" + length + " for table with " + this . nrow + " rows." ) ; } if ( length == 0 ) { return ; } for ( int col = 0 ; col < this . arrays . length ; col += 1 ) { int sz = this . sizes [ col ] ; int newSize = sz * ( this . nrow - length ) ; Object newArr = ArrayFuncs . newInstance ( this . bases [ col ] , newSize ) ; System . arraycopy ( this . arrays [ col ] , 0 , newArr , 0 , row * sz ) ; System . arraycopy ( this . arrays [ col ] , ( row + length ) * sz , newArr , row * sz , ( this . nrow - row - length ) * sz ) ; this . arrays [ col ] = newArr ; } this . nrow -= length ; initializePointers ( ) ; }
delete a contiguous set of rows from the table .
