m_FirstBatchDone = true;
   public boolean batchFinished() {      if (getInputFormat() == null) {         throw new IllegalStateException("No input instance format defined");      }      // process input      if (m_Values == null) {         determineValues(getInputFormat());         setOutputFormat();      }       flushInput();            m_NewBatch = true;      return (numPendingOutput() != 0);   }