public void putOneDataPoint(double value){
  try {
    queue.put(value);
  }
 catch (  InterruptedException e) {
    throw new RuntimeException("Unexpected interruption",e);
  }
}

public void putOneDataPoint ( double value ) { try { queue . put ( value ) ; } catch ( InterruptedException e ) { throw new RuntimeException ( "Unexpected interruption" , e ) ; } }
the producing thread tries to put ont data item into the queue .
