Java Collections - Store multiple Information
<p>Is it good to store multiple information like this:</p>

<pre><code>List&lt;Map&lt;Integer, Object&gt;&gt; l = new ArrayList&lt;Map&lt;Integer, Object&gt;&gt;();

Map&lt;Integer, Object&gt; m = new HashMap&lt;Integer, Object&gt;();
m.put(123, null);
l.add(m);
</code></pre>

<p>I guess there's a better way.</p>

<p>In my case I need to store a List of Categories and the information how many Articles are using this Category for each.</p>
