How to access the content of a map and process it in java?
<p>I’m reading access logs files and grouping by IP and storing it in a map. At the end I get each IP as the key and the values are the date and urls. I’m storing the values as a list.</p>

<pre><code>HashMap&lt;String,List&lt;String&gt;&gt; map = new HashMap&lt;String,List&lt;String&gt;&gt;();
</code></pre>

<p>The result:</p>

<pre>
IP: 46.33.8.38 ==> [[16/Jul/2011:12:25:23, /TestWebPages/index.html], [16/Jul/2011:12:25:46, /TestWebPages/MScAIS-SEWN-Search-Optimisation.html], [16/Jul/2011:12:25:46, /TestWebPages/valid-rss-rogers.png]]
…
</pre>

<p>Now I would like to further group the content of the map depending on the day and time. But I don’t know how can I access the list of each key in the map and process it!</p>

<p>So I would like to have those webpages accessed on the same day associated with IP address in a new map.</p>
