<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Supple software comments on I'd like to be able to initialise collections in Java</title>
    <link>http://supplesoftware.com/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Supple software comments</description>
    <item>
      <title>"I'd like to be able to initialise collections in Java" by petrovg</title>
      <description>&lt;p&gt;Wouldn&amp;#8217;t it be nice if you could say something like?&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;pre&gt;
Map&lt;String,Integer&gt; measures = new Map&lt;String,Integer&gt; ( "Height" -&gt; 175, "Weight" -&gt; 69 )
&lt;/pre&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;as you can do in Perl, or even :&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;pre&gt;
Map&lt;String,Integer&gt; measures = new Map&lt;String,Integer&gt; ( new MapEntry("Height", 175), new MapEntry("Weight", 69) )
&lt;/pre&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&amp;#8230;.yes, it would be nice&amp;#8230;&lt;/p&gt;

</description>
      <pubDate>Mon, 19 Feb 2007 03:43:00 PST</pubDate>
      <guid>&lt;a href="/articles/2007/02/19/id-like-to-be-able-to-initialise-collections-in-java"&gt;I'd like to be able to initialise collections in Java&lt;/a&gt;</guid>
      <link>&lt;a href="/articles/2007/02/19/id-like-to-be-able-to-initialise-collections-in-java"&gt;I'd like to be able to initialise collections in Java&lt;/a&gt;</link>
    </item>
  </channel>
</rss>
