title: TreeMap to ArrayList Java
body: <p>I have a TreeMap which has a string key and the value part is a List with atleast four values.</p>
  
  <pre><code>Map&lt;String,List&lt;String&gt;&gt; mMap = new TreeMap&lt;String,List&lt;String&gt;&gt;(); 
  </code></pre>
  
  <p>I am using the tree map so that my keys are sorted. However after the sort I want to map this TreeMap to a listview. I want to convert the Map to a list and then build an Adapter for  listview. However I am not able to convert it when I do </p>
  
  <pre><code>ArrayList&lt;String&gt; trendyList = new ArrayList&lt;String&gt;(mMap);  
  </code></pre>
  
  <p>It says: <code>The constructor ArrayList&lt;String&gt;(Map&lt;String,List&lt;String&gt;&gt;) is undefined</code></p>
  
  <p>Is there any other way I can do this? </p>