<?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: Preconditions, Multimaps and partitioning with Google Collections (part 4)</title>
	<atom:link href="http://codemunchies.com/2009/11/preconditions-multimaps-and-partitioning-with-google-collections-part-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://codemunchies.com/2009/11/preconditions-multimaps-and-partitioning-with-google-collections-part-4/</link>
	<description>Satisfy your cravings</description>
	<lastBuildDate>Fri, 27 Aug 2010 16:29:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Computing Map on Google Collections &#171; firdau.si</title>
		<link>http://codemunchies.com/2009/11/preconditions-multimaps-and-partitioning-with-google-collections-part-4/comment-page-1/#comment-310</link>
		<dc:creator>Computing Map on Google Collections &#171; firdau.si</dc:creator>
		<pubDate>Mon, 05 Jul 2010 13:13:24 +0000</pubDate>
		<guid isPermaLink="false">http://codemunchies.com/?p=249#comment-310</guid>
		<description>[...] Preconditions, MultiMaps, and Partitioning with Google Collections [...]</description>
		<content:encoded><![CDATA[<p>[...] Preconditions, MultiMaps, and Partitioning with Google Collections [...]</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/11/preconditions-multimaps-and-partitioning-with-google-collections-part-4/comment-page-1/#comment-297</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:27 +0000</pubDate>
		<guid isPermaLink="false">http://codemunchies.com/?p=249#comment-297</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>
	<item>
		<title>By: Computing Map on Google Collections &#124; satukubik</title>
		<link>http://codemunchies.com/2009/11/preconditions-multimaps-and-partitioning-with-google-collections-part-4/comment-page-1/#comment-105</link>
		<dc:creator>Computing Map on Google Collections &#124; satukubik</dc:creator>
		<pubDate>Fri, 13 Nov 2009 21:36:50 +0000</pubDate>
		<guid isPermaLink="false">http://codemunchies.com/?p=249#comment-105</guid>
		<description>[...] Preconditions, MultiMaps, and Partitioning with Google Collections [...]</description>
		<content:encoded><![CDATA[<p>[...] Preconditions, MultiMaps, and Partitioning with Google Collections [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aleksander Stensby</title>
		<link>http://codemunchies.com/2009/11/preconditions-multimaps-and-partitioning-with-google-collections-part-4/comment-page-1/#comment-84</link>
		<dc:creator>Aleksander Stensby</dc:creator>
		<pubDate>Fri, 06 Nov 2009 07:08:09 +0000</pubDate>
		<guid isPermaLink="false">http://codemunchies.com/?p=249#comment-84</guid>
		<description>@fdse: Hi! Yes, Its my own, but it&#039;s just a wrapper for the Google Collection ImmutableMap.of() method. Simply because there is also an ImmutableList.of() method, and I like static imports - there will be a problem:)</description>
		<content:encoded><![CDATA[<p>@fdse: Hi! Yes, Its my own, but it&#8217;s just a wrapper for the Google Collection ImmutableMap.of() method. Simply because there is also an ImmutableList.of() method, and I like static imports &#8211; there will be a problem:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fdse</title>
		<link>http://codemunchies.com/2009/11/preconditions-multimaps-and-partitioning-with-google-collections-part-4/comment-page-1/#comment-83</link>
		<dc:creator>fdse</dc:creator>
		<pubDate>Fri, 06 Nov 2009 00:23:24 +0000</pubDate>
		<guid isPermaLink="false">http://codemunchies.com/?p=249#comment-83</guid>
		<description>i dont see mapOf method in goog-collectns....is it your own method</description>
		<content:encoded><![CDATA[<p>i dont see mapOf method in goog-collectns&#8230;.is it your own method</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aleksander Stensby</title>
		<link>http://codemunchies.com/2009/11/preconditions-multimaps-and-partitioning-with-google-collections-part-4/comment-page-1/#comment-81</link>
		<dc:creator>Aleksander Stensby</dc:creator>
		<pubDate>Thu, 05 Nov 2009 19:00:09 +0000</pubDate>
		<guid isPermaLink="false">http://codemunchies.com/?p=249#comment-81</guid>
		<description>Thanks Kevin! And thanks for all the effort you guys have put into these wonderful life-savers for us average-joes;)

Thanks for pointing out the specifics of MapDifference and the changes you&#039;ve made to SetView:) I&#039;ll be sure to check that out! With regards to string specifiers thats clearly stated in the JavaDoc, but I forgot to mention that in the blog post. Stay tuned for our article on Exceptions and validation (soon) where we explain the approach we have been using for this.

Cheers!
- Aleks</description>
		<content:encoded><![CDATA[<p>Thanks Kevin! And thanks for all the effort you guys have put into these wonderful life-savers for us average-joes;)</p>
<p>Thanks for pointing out the specifics of MapDifference and the changes you&#8217;ve made to SetView:) I&#8217;ll be sure to check that out! With regards to string specifiers thats clearly stated in the JavaDoc, but I forgot to mention that in the blog post. Stay tuned for our article on Exceptions and validation (soon) where we explain the approach we have been using for this.</p>
<p>Cheers!<br />
- Aleks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin B</title>
		<link>http://codemunchies.com/2009/11/preconditions-multimaps-and-partitioning-with-google-collections-part-4/comment-page-1/#comment-80</link>
		<dc:creator>Kevin B</dc:creator>
		<pubDate>Thu, 05 Nov 2009 18:41:08 +0000</pubDate>
		<guid isPermaLink="false">http://codemunchies.com/?p=249#comment-80</guid>
		<description>Thanks again for this great series!

A few things..

One, for 1.0-final I&#039;ve added to the SetView javadoc this:

&quot;There is usually no reason to retain a reference of type SetView; typically, you either use it as a plain Set, or immediately invoke immutableCopy() or copyInto(S) and forget the SetView itself.&quot;

We really never intended to see &quot;SetView union = ...&quot; in user code; it&#039;s meant to be just a means to an end.

Not that it is _harmful_.  You&#039;re safe to use it.

The only issue with &quot;Similarly, MapDifference...&quot; is that MapDifference is a little bit different: it&#039;s NOT a view. It does not update as the backing maps do. It copies data at the time Maps.difference() is invoked.

Re: Preconditions, be warned that ONLY %s is supported, not any of the other String.format() specifiers.  (Sorry.)

Nothing incorrect in here though, of course!  Thanks again!</description>
		<content:encoded><![CDATA[<p>Thanks again for this great series!</p>
<p>A few things..</p>
<p>One, for 1.0-final I&#8217;ve added to the SetView javadoc this:</p>
<p>&#8220;There is usually no reason to retain a reference of type SetView; typically, you either use it as a plain Set, or immediately invoke immutableCopy() or copyInto(S) and forget the SetView itself.&#8221;</p>
<p>We really never intended to see &#8220;SetView union = &#8230;&#8221; in user code; it&#8217;s meant to be just a means to an end.</p>
<p>Not that it is _harmful_.  You&#8217;re safe to use it.</p>
<p>The only issue with &#8220;Similarly, MapDifference&#8230;&#8221; is that MapDifference is a little bit different: it&#8217;s NOT a view. It does not update as the backing maps do. It copies data at the time Maps.difference() is invoked.</p>
<p>Re: Preconditions, be warned that ONLY %s is supported, not any of the other String.format() specifiers.  (Sorry.)</p>
<p>Nothing incorrect in here though, of course!  Thanks again!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
