protected synchronized void addToSecondBuffer(Instance inst){
  if (m_stopRequested.get()) {
    return;
  }
  InstanceHolder newH=new InstanceHolder();
  newH.m_instance=inst;
  copyStringAttVals(newH,m_stringAttIndexesTwo);
  if (!m_stopRequested.get()) {
    m_secondBuffer.add(newH);
  }
 else {
    return;
  }
  if (m_secondBuffer.size() > 100 && !m_firstFinished) {
    try {
      m_secondIsWaiting=true;
      wait();
    }
 catch (    InterruptedException e) {
    }
  }
}

protected synchronized void addToSecondBuffer ( Instance inst ) { if ( m_stopRequested . get ( ) ) { return ; } InstanceHolder newH = new InstanceHolder ( ) ; newH . m_instance = inst ; copyStringAttVals ( newH , m_stringAttIndexesTwo ) ; if ( ! m_stopRequested . get ( ) ) { m_secondBuffer . add ( newH ) ; } else { return ; } if ( m_secondBuffer . size ( ) > 100 && ! m_firstFinished ) { try { m_secondIsWaiting = true ; wait ( ) ; } catch ( InterruptedException e ) { } } }
adds an instance to the second input ' s buffer
