public boolean delete() throws IOException {
  if (closed.compareAndSet(false,true)) {
    close(false);
    boolean success=allocatedNodesList.delete();
    success&=nioFile.delete();
    return success;
  }
  return false;
}

public boolean delete ( ) throws IOException { if ( closed . compareAndSet ( false , true ) ) { close ( false ) ; boolean success = allocatedNodesList . delete ( ) ; success &= nioFile . delete ( ) ; return success ; } return false ; }
closes the btree and then deletes its data files .
