title: Java - Simple way to put LinkedHashMap keys/values into respective Lists?
body: <p>I have a <code>LinkedHashMap &lt; String, String &gt; map</code> .</p>
  
  <pre><code>List &lt; String &gt; keyList;
  List &lt; String &gt; valueList;
  
  map.keySet();
  map.values();
  </code></pre>
  
  <p>Is there an easy way to populate keyList from map.keySet() and valueList from map.values(), or do I have to iterate?</p>