code: public void reset() {
          data.rewind();
  
          // Read off the rows, columns, and non-zero elements
          data.getInt();
          data.getInt();
          data.getInt();
  
          // Reset the counters.
          curCol = 0;
          entry = 0;
          try {
              advance();
          } catch (IOException ioe) {
              throw new IOError(ioe);
          }
      }
docs: Resets the iterator to the start of the file's data.