title: Iterate over List<Map<String, String>> in Java
body: <p>I'm trying to iterate <code>List&lt;Map&lt;String, String&gt;&gt;</code> in Java. However, I'm not able to iterate it properly. Can any one guide me?</p>
  
  <pre><code>Iterator it = list.iterator();
  while (it.hasNext()) {
      Map.Entry pairs = (Map.Entry) it.next();
      System.out.println(pairs.getKey() + " = " + pairs.getValue());
  }
  </code></pre>
  
  <p>Thanks,</p>