public void reset(){
  index=0;
  if (file != null) {
    listIndex=0;
    if (!written) {
      writeAllRows();
      written=true;
    }
    list.clear();
    file.seek(FileStore.HEADER_LENGTH);
  }
}

public void reset ( ) { index = 0 ; if ( file != null ) { listIndex = 0 ; if ( ! written ) { writeAllRows ( ) ; written = true ; } list . clear ( ) ; file . seek ( FileStore . HEADER_LENGTH ) ; } }
remove all rows from the list .
