title: Writing values of a hashmap<String,String[]> as a csv file in java
body: <p>let I have a hashmap HashMap. Now I want to write all the values row-wise into a CSV file</p>
  
  <pre><code>HashMap:
  Key: BOF   Value: SAPF,754
  Key: BOM   Value: SAPM,456
  Key: BOL   Value: SAPL,987
  </code></pre>
  
  <p>I want to make a csv with this format:</p>
  
  <pre><code>SAPF,754
  SAPM,456
  SAPL,987
  </code></pre>
  
  <p>How to do it?</p>