<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Double Brace Initialization</title>
	<atom:link href="http://isagoksu.com/2009/development/java/double-brace-initialization/feed/" rel="self" type="application/rss+xml" />
	<link>http://isagoksu.com/2009/development/java/double-brace-initialization/</link>
	<description>Nobody can be perfect, but you can think better, design better, and always use baby steps!</description>
	<lastBuildDate>Mon, 08 Mar 2010 17:05:53 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Isa Goksu</title>
		<link>http://isagoksu.com/2009/development/java/double-brace-initialization/comment-page-1/#comment-2217</link>
		<dc:creator>Isa Goksu</dc:creator>
		<pubDate>Fri, 29 May 2009 23:37:31 +0000</pubDate>
		<guid isPermaLink="false">http://isagoksu.com/?p=209#comment-2217</guid>
		<description>&lt;p&gt;@Balaji, I would use Varargs if I&#039;m not using double brace.&lt;/p&gt;

&lt;p style=&quot;margin-bottom: 44px&quot;&gt;&#160;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Balaji, I would use Varargs if I&#8217;m not using double brace.</p>

<p style="margin-bottom: 44px">&nbsp;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Balaji</title>
		<link>http://isagoksu.com/2009/development/java/double-brace-initialization/comment-page-1/#comment-2215</link>
		<dc:creator>Balaji</dc:creator>
		<pubDate>Fri, 29 May 2009 14:41:58 +0000</pubDate>
		<guid isPermaLink="false">http://isagoksu.com/?p=209#comment-2215</guid>
		<description>&lt;p&gt;Very nice!  I&#039;ve been wondering about double brace lately.  Do you have any thoughts about using Array lists instead?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Very nice!  I&#8217;ve been wondering about double brace lately.  Do you have any thoughts about using Array lists instead?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Holser</title>
		<link>http://isagoksu.com/2009/development/java/double-brace-initialization/comment-page-1/#comment-2214</link>
		<dc:creator>Paul Holser</dc:creator>
		<pubDate>Fri, 29 May 2009 14:36:57 +0000</pubDate>
		<guid isPermaLink="false">http://isagoksu.com/?p=209#comment-2214</guid>
		<description>&lt;p&gt;Yep --&gt; http://pholser.com/writings/concisions.html&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yep &#8211;&gt; <a href="http://pholser.com/writings/concisions.html" rel="nofollow">http://pholser.com/writings/concisions.html</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Isa Goksu</title>
		<link>http://isagoksu.com/2009/development/java/double-brace-initialization/comment-page-1/#comment-2204</link>
		<dc:creator>Isa Goksu</dc:creator>
		<pubDate>Thu, 28 May 2009 21:25:33 +0000</pubDate>
		<guid isPermaLink="false">http://isagoksu.com/?p=209#comment-2204</guid>
		<description>&lt;p&gt;Yeah that&#039;s true. I wouldn&#039;t use it too under a high performance requirement. This is just a nice trick for mostly unit-tests (at least I&#039;m using for that). Then again it&#039;s another discussion about performance/memory since after Java 6, &quot;new&quot; is not causing almost any performance problems. For memory, I&#039;d say this code snippet doesn&#039;t cause any memory-leaks, and for the rest memory is so cheap. I don&#039;t think it&#039;d be an issue :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yeah that&#8217;s true. I wouldn&#8217;t use it too under a high performance requirement. This is just a nice trick for mostly unit-tests (at least I&#8217;m using for that). Then again it&#8217;s another discussion about performance/memory since after Java 6, &#8220;new&#8221; is not causing almost any performance problems. For memory, I&#8217;d say this code snippet doesn&#8217;t cause any memory-leaks, and for the rest memory is so cheap. I don&#8217;t think it&#8217;d be an issue :)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan</title>
		<link>http://isagoksu.com/2009/development/java/double-brace-initialization/comment-page-1/#comment-2203</link>
		<dc:creator>Stefan</dc:creator>
		<pubDate>Thu, 28 May 2009 21:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://isagoksu.com/?p=209#comment-2203</guid>
		<description>&lt;p&gt;It&#039;s a cool trick - but I wouldn&#039;t use it unless someone proves me that the impact on memory usage and VM performance isn&#039;t too bad (you&#039;re creating a new subclass when you actually want a new instance).
BTW what&#039;s so bad about Arrays.asList(&quot;ITEM 1&quot;,&quot;ITEM 2&quot;,&quot;ITEM 3&quot;)?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It&#8217;s a cool trick &#8211; but I wouldn&#8217;t use it unless someone proves me that the impact on memory usage and VM performance isn&#8217;t too bad (you&#8217;re creating a new subclass when you actually want a new instance).
BTW what&#8217;s so bad about Arrays.asList(&#8221;ITEM 1&#8243;,&#8221;ITEM 2&#8243;,&#8221;ITEM 3&#8243;)?</p>]]></content:encoded>
	</item>
</channel>
</rss>
