title: How to iterate through List in a hashmap value
body: <p>I have a <code>HashMap</code> with <code>String</code> as key and <code>List</code> as value.</p>
  
  <p>Name of the <code>HashMap</code> is <code>pageMap</code>.</p>
  
  <p>Say this <code>pageMap</code> has the following key and value:</p>
  
  <pre><code>key = order
  value = [page1, page2, page3]
  </code></pre>
  
  <p>now I want to display in the following pattern:</p>
  
  <pre><code>order
     page1
     page2
     page3
  
  key2
     value1
     value2
     value3
     value4
  </code></pre>
  
  <p>Please tell me how do I do that?</p>