title: convert Collection<String[]> to list
body: <p>I have the following</p>
  
  <pre><code>Collection&lt;String[]&gt; values = databaseMap.values();
  </code></pre>
  
  <p>and I am having problems converting it to a list. I keep trying to loop through and print out the elements but I am getting...</p>
  
  <pre><code>java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to [Ljava.lang.String;
  </code></pre>
  
  <p>Can someone help me with this?</p>