code: public static void write(final Iterable<BedRecord> records, final PrintWriter writer) {
          checkNotNull(records);
          checkNotNull(writer);
          for (BedRecord record : records) {
              writer.println(record.toString());
          }
      }
docs: Write zero or more BED records with the specified print writer.
  
  @param records zero or more BED records to write, must not be null
  @param writer print writer to write BED records with, must not be null