@Override public void deletePage(int pageID){
  try {
    super.deletePage(pageID);
    countWrite();
    byte[] array=pageToByteArray(null);
    long offset=((long)(header.getReservedPages() + pageID)) * (long)pageSize;
    file.seek(offset);
    file.write(array);
  }
 catch (  IOException e) {
    throw new RuntimeException(e);
  }
}

@ Override public void deletePage ( int pageID ) { try { super . deletePage ( pageID ) ; countWrite ( ) ; byte [ ] array = pageToByteArray ( null ) ; long offset = ( ( long ) ( header . getReservedPages ( ) + pageID ) ) * ( long ) pageSize ; file . seek ( offset ) ; file . write ( array ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } }
deletes the node with the specified id from this file .
