<?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: Beautiful code with Google Collections, Guava and static imports &#8211; Part 1!</title>
	<atom:link href="http://codemunchies.com/2009/10/beautiful-code-with-google-collections-guava-and-static-imports-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://codemunchies.com/2009/10/beautiful-code-with-google-collections-guava-and-static-imports-part-1/</link>
	<description>Satisfy your cravings</description>
	<lastBuildDate>Tue, 20 Dec 2011 11:07:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Carsten</title>
		<link>http://codemunchies.com/2009/10/beautiful-code-with-google-collections-guava-and-static-imports-part-1/comment-page-1/#comment-1731</link>
		<dc:creator>Carsten</dc:creator>
		<pubDate>Tue, 20 Dec 2011 11:07:30 +0000</pubDate>
		<guid isPermaLink="false">http://codemunchies.com/?p=105#comment-1731</guid>
		<description>&lt;cite&gt;
Map&lt;String, Map&lt;Long, List&gt;&gt;map = newHashMap();

Nice, right? Thanks to generics and those handy factory methods that the Collections guys have provided us with, we no longer have to write things that Java really should understand, right? 
&lt;/cite&gt;

Only thanks to the great Java generics we need libraries like this. :)</description>
		<content:encoded><![CDATA[<p><cite><br />
Map&lt;String, Map&lt;Long, List&gt;&gt;map = newHashMap();</p>
<p>Nice, right? Thanks to generics and those handy factory methods that the Collections guys have provided us with, we no longer have to write things that Java really should understand, right?<br />
</cite></p>
<p>Only thanks to the great Java generics we need libraries like this. <img src='http://codemunchies.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaran Nilsen</title>
		<link>http://codemunchies.com/2009/10/beautiful-code-with-google-collections-guava-and-static-imports-part-1/comment-page-1/#comment-872</link>
		<dc:creator>Jaran Nilsen</dc:creator>
		<pubDate>Tue, 13 Sep 2011 14:14:34 +0000</pubDate>
		<guid isPermaLink="false">http://codemunchies.com/?p=105#comment-872</guid>
		<description>Your comment got lost in the approval list, sorry. 

The arrayListOf method is a method we have implemented ourselves, but all it does it wrap the ImmutableList.of and ImmutableMap.of static methods to try and make it even nicer. Therefore you do not find it in the Guava documentation.</description>
		<content:encoded><![CDATA[<p>Your comment got lost in the approval list, sorry. </p>
<p>The arrayListOf method is a method we have implemented ourselves, but all it does it wrap the ImmutableList.of and ImmutableMap.of static methods to try and make it even nicer. Therefore you do not find it in the Guava documentation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: narf</title>
		<link>http://codemunchies.com/2009/10/beautiful-code-with-google-collections-guava-and-static-imports-part-1/comment-page-1/#comment-781</link>
		<dc:creator>narf</dc:creator>
		<pubDate>Fri, 15 Jul 2011 14:34:37 +0000</pubDate>
		<guid isPermaLink="false">http://codemunchies.com/?p=105#comment-781</guid>
		<description>arrayListOf does not exist, does it? The guava documentation does not list this function.</description>
		<content:encoded><![CDATA[<p>arrayListOf does not exist, does it? The guava documentation does not list this function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aleksander Stensby</title>
		<link>http://codemunchies.com/2009/10/beautiful-code-with-google-collections-guava-and-static-imports-part-1/comment-page-1/#comment-754</link>
		<dc:creator>Aleksander Stensby</dc:creator>
		<pubDate>Sun, 12 Jun 2011 09:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://codemunchies.com/?p=105#comment-754</guid>
		<description>Hi Dimitri! Yes, Multimap is very useful! Make sure you check out the other parts of this series, where we cover Multimaps in part 4 here:
http://codemunchies.com/2009/11/preconditions-multimaps-and-partitioning-with-google-collections-part-4/

Cheers,
 Aleks</description>
		<content:encoded><![CDATA[<p>Hi Dimitri! Yes, Multimap is very useful! Make sure you check out the other parts of this series, where we cover Multimaps in part 4 here:<br />
<a href="http://codemunchies.com/2009/11/preconditions-multimaps-and-partitioning-with-google-collections-part-4/" rel="nofollow">http://codemunchies.com/2009/11/preconditions-multimaps-and-partitioning-with-google-collections-part-4/</a></p>
<p>Cheers,<br />
 Aleks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dimitri</title>
		<link>http://codemunchies.com/2009/10/beautiful-code-with-google-collections-guava-and-static-imports-part-1/comment-page-1/#comment-753</link>
		<dc:creator>Dimitri</dc:creator>
		<pubDate>Wed, 08 Jun 2011 13:34:10 +0000</pubDate>
		<guid isPermaLink="false">http://codemunchies.com/?p=105#comment-753</guid>
		<description>I happened to use a useful interface in guava: Multimap.
Thank to Multimap you can define a variable like this:

Multimap multimap = HashMultimap.create();

whenever you need to handle a map with a list as value, i.e.:

Map&lt;String, List&gt; multimap = new HashMap&lt;String, List&gt;;

Quite handy if you have to loop some other collection to populate the map and you don&#039;t want to deal with the list of values mapped to same key.</description>
		<content:encoded><![CDATA[<p>I happened to use a useful interface in guava: Multimap.<br />
Thank to Multimap you can define a variable like this:</p>
<p>Multimap multimap = HashMultimap.create();</p>
<p>whenever you need to handle a map with a list as value, i.e.:</p>
<p>Map&lt;String, List&gt; multimap = new HashMap&lt;String, List&gt;;</p>
<p>Quite handy if you have to loop some other collection to populate the map and you don&#8217;t want to deal with the list of values mapped to same key.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://codemunchies.com/2009/10/beautiful-code-with-google-collections-guava-and-static-imports-part-1/comment-page-1/#comment-742</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Mon, 21 Mar 2011 01:40:40 +0000</pubDate>
		<guid isPermaLink="false">http://codemunchies.com/?p=105#comment-742</guid>
		<description>New to Guava - does anyone have a list of good Eclipse favorites to add for Guava development?</description>
		<content:encoded><![CDATA[<p>New to Guava &#8211; does anyone have a list of good Eclipse favorites to add for Guava development?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Beautiful code with Google Collections, Guava and static imports &#124; TheUnical Technologies Blog</title>
		<link>http://codemunchies.com/2009/10/beautiful-code-with-google-collections-guava-and-static-imports-part-1/comment-page-1/#comment-735</link>
		<dc:creator>Beautiful code with Google Collections, Guava and static imports &#124; TheUnical Technologies Blog</dc:creator>
		<pubDate>Thu, 03 Feb 2011 04:11:13 +0000</pubDate>
		<guid isPermaLink="false">http://codemunchies.com/?p=105#comment-735</guid>
		<description>[...] Beautiful code with Google Collections, Guava and static imports  October 13, 2009 Filed under: Eclipse, Featured, Google API, JAVA&#160;  Original blog: http://codemunchies.com/2009/10/beautiful-code-with-google-collections-guava-and-static-imports-part... [...]</description>
		<content:encoded><![CDATA[<p>[...] Beautiful code with Google Collections, Guava and static imports  October 13, 2009 Filed under: Eclipse, Featured, Google API, JAVA&nbsp;  Original blog: <a href="http://codemunchies.com/2009/10/beautiful-code-with-google-collections-guava-and-static-imports-part.." rel="nofollow">http://codemunchies.com/2009/10/beautiful-code-with-google-collections-guava-and-static-imports-part..</a>. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Conociendo Google Guava &#171; HAT</title>
		<link>http://codemunchies.com/2009/10/beautiful-code-with-google-collections-guava-and-static-imports-part-1/comment-page-1/#comment-695</link>
		<dc:creator>Conociendo Google Guava &#171; HAT</dc:creator>
		<pubDate>Fri, 27 Aug 2010 16:29:09 +0000</pubDate>
		<guid isPermaLink="false">http://codemunchies.com/?p=105#comment-695</guid>
		<description>[...] Beautiful Code with Google Collections [...]</description>
		<content:encoded><![CDATA[<p>[...] Beautiful Code with Google Collections [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Computing Map on Google Collections &#171; firdau.si</title>
		<link>http://codemunchies.com/2009/10/beautiful-code-with-google-collections-guava-and-static-imports-part-1/comment-page-1/#comment-309</link>
		<dc:creator>Computing Map on Google Collections &#171; firdau.si</dc:creator>
		<pubDate>Mon, 05 Jul 2010 13:13:07 +0000</pubDate>
		<guid isPermaLink="false">http://codemunchies.com/?p=105#comment-309</guid>
		<description>[...] Beautiful code with Google Collections, Guava, and Static Imports [...]</description>
		<content:encoded><![CDATA[<p>[...] Beautiful code with Google Collections, Guava, and Static Imports [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ralph&#8217;s Blog &#187; Blog Archive &#187; Google Guava Teil 3: Objects/StringUtils/Primitives</title>
		<link>http://codemunchies.com/2009/10/beautiful-code-with-google-collections-guava-and-static-imports-part-1/comment-page-1/#comment-296</link>
		<dc:creator>Ralph&#8217;s Blog &#187; Blog Archive &#187; Google Guava Teil 3: Objects/StringUtils/Primitives</dc:creator>
		<pubDate>Sun, 06 Jun 2010 18:02:11 +0000</pubDate>
		<guid isPermaLink="false">http://codemunchies.com/?p=105#comment-296</guid>
		<description>[...] Beautiful code with Google Collections, Guava and static imports – Part 1! Diving into the Google Guava library (part 2) Functional Java, Filtering and Ordering with Google Collections (part 3) Preconditions, Multimaps and partitioning with Google Collections (part 4) [...]</description>
		<content:encoded><![CDATA[<p>[...] Beautiful code with Google Collections, Guava and static imports – Part 1! Diving into the Google Guava library (part 2) Functional Java, Filtering and Ordering with Google Collections (part 3) Preconditions, Multimaps and partitioning with Google Collections (part 4) [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

