class TextMeasurementsExporter implements MeasurementsExporter {
  private final BufferedWriter bw;

  public TextMeasurementsExporter(OutputStream os) {
    this.bw = new BufferedWriter(new OutputStreamWriter(os));
  }

  public void write(String metric, String measurement, int i) throws IOException {<FILL_FUNCTION_BODY>}

  public void write(String metric, String measurement, long i) throws IOException {
    bw.write("[" + metric + "], " + measurement + ", " + i);
    bw.newLine();
  }

  public void write(String metric, String measurement, double d) throws IOException {
    bw.write("[" + metric + "], " + measurement + ", " + d);
    bw.newLine();
  }

  public void close() throws IOException {
    this.bw.close();
  }
}

    bw.write("[" + metric + "], " + measurement + ", " + i);
    bw.newLine();
  
<no_super_class>