 <p>list has no entySet() method! </p> <p>Try this:</p> <pre><code> final Iterator&lt;Map&lt;String, String&gt;&gt; it = list.iterator(); while (it.hasNext()) { Map&lt;String, String&gt; mapElement = it.next(); // do what you want with the mapElement } </code></pre> <p>Of course, you will need another loop to iterate over the elements in the map.</p>