Java Entryset Error
<p>I am having below error for this code,</p>

<p>Type mismatch: <strong>cannot convert from</strong> <code>Set&lt;Map.Entry&lt;Date,List&lt;Transaction&gt;&gt;&gt; to Set&lt;Date&gt;</code>    </p>

<p>Code: </p>

<pre><code>final Map&lt;Date, List&lt;Transaction&gt;&gt; transactionsMap= new HashMap&lt;Date, List&lt;Transaction&gt;&gt;();

Set&lt;Date&gt; set = transactionsMap.entrySet(); //Error line
</code></pre>

<p>What is this error? how to resolve this?</p>
