<?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"
	>
<channel>
	<title>Comments on: Google Collections to the rescue</title>
	<atom:link href="http://happygiraffe.net/blog/2008/07/22/google-collections-to-the-rescue/feed/" rel="self" type="application/rss+xml" />
	<link>http://happygiraffe.net/blog/2008/07/22/google-collections-to-the-rescue/</link>
	<description></description>
	<pubDate>Sat, 22 Nov 2008 11:42:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Sam</title>
		<link>http://happygiraffe.net/blog/2008/07/22/google-collections-to-the-rescue/#comment-532</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Thu, 24 Jul 2008 14:37:05 +0000</pubDate>
		<guid isPermaLink="false">tag:happygiraffe.net:Article12975#comment-532</guid>
		<description>&lt;p&gt;&lt;span class="caps"&gt;I LOVE&lt;/span&gt; google collections. Here is a series of blog posts by one of the guys that works on it, detailing some nice idioms:&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://publicobject.com/2007/09/series-recap-coding-in-small-with.html" rel="nofollow"&gt;http://publicobject.com/2007/09/series-recap-coding-in-small-with.html&lt;/a&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p><span class="caps">I LOVE</span> google collections. Here is a series of blog posts by one of the guys that works on it, detailing some nice idioms:</p>
<p><a href="http://publicobject.com/2007/09/series-recap-coding-in-small-with.html" rel="nofollow">http://publicobject.com/2007/09/series-recap-coding-in-small-with.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://happygiraffe.net/blog/2008/07/22/google-collections-to-the-rescue/#comment-531</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Wed, 23 Jul 2008 21:22:32 +0000</pubDate>
		<guid isPermaLink="false">tag:happygiraffe.net:Article12975#comment-531</guid>
		<description>&lt;p&gt;We&#8217;ve recently incorporated Google Collections at work, and it&#8217;s chock full of useful stuff. Admittedly, much of it is the sort of thing that any decent programmer would inevitably invent for themselves at some point, but would probably not have the time or inclination to do as thorough a job as Google has. I&#8217;d like to see the best bits folded into Java 7.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>We&#8217;ve recently incorporated Google Collections at work, and it&#8217;s chock full of useful stuff. Admittedly, much of it is the sort of thing that any decent programmer would inevitably invent for themselves at some point, but would probably not have the time or inclination to do as thorough a job as Google has. I&#8217;d like to see the best bits folded into Java 7.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dominic Mitchell</title>
		<link>http://happygiraffe.net/blog/2008/07/22/google-collections-to-the-rescue/#comment-530</link>
		<dc:creator>Dominic Mitchell</dc:creator>
		<pubDate>Wed, 23 Jul 2008 17:51:01 +0000</pubDate>
		<guid isPermaLink="false">tag:happygiraffe.net:Article12975#comment-530</guid>
		<description>&lt;p&gt;@KiLVaiDeN: I was reading from a file originally and passing on the iterator from that directly.  It&#8217;s a streaming source, so it made sense to try and incorporate it into the iterator.&lt;/p&gt;


	&lt;p&gt;As to efficiency, I very much doubt that would be an issue.  The cost of IO usually dwarfs the cost of processing.&lt;/p&gt;


	&lt;p&gt;The main point isn&#8217;t really about this particular problem.  It&#8217;s more of an indication of conceptually nice the google-collections &lt;span class="caps"&gt;API&lt;/span&gt; is.  The more I look at it, the more useful I find it.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>@KiLVaiDeN: I was reading from a file originally and passing on the iterator from that directly.  It&#8217;s a streaming source, so it made sense to try and incorporate it into the iterator.</p>
<p>As to efficiency, I very much doubt that would be an issue.  The cost of IO usually dwarfs the cost of processing.</p>
<p>The main point isn&#8217;t really about this particular problem.  It&#8217;s more of an indication of conceptually nice the google-collections <span class="caps">API</span> is.  The more I look at it, the more useful I find it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KiLVaiDeN</title>
		<link>http://happygiraffe.net/blog/2008/07/22/google-collections-to-the-rescue/#comment-529</link>
		<dc:creator>KiLVaiDeN</dc:creator>
		<pubDate>Wed, 23 Jul 2008 14:51:31 +0000</pubDate>
		<guid isPermaLink="false">tag:happygiraffe.net:Article12975#comment-529</guid>
		<description>&lt;p&gt;Interesting stuff, but I think the problem is not when you need to iterate, but rather when you gather the collection at the first place.&lt;/p&gt;


	&lt;p&gt;If your method which returns the collections doesn&#8217;t filter, order or check validity of the input data ( let it be a database filter, or something else ) you for sure need to find a way to do those steps afterwards, but usually it&#8217;s a much better design to only gather the lines you need from either a database or a file, it saves time, simplifies code, and is a much more efficient way of dealing the problems that Google Collections solve.&lt;/p&gt;


	&lt;p&gt;My 2 cents
K&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Interesting stuff, but I think the problem is not when you need to iterate, but rather when you gather the collection at the first place.</p>
<p>If your method which returns the collections doesn&#8217;t filter, order or check validity of the input data ( let it be a database filter, or something else ) you for sure need to find a way to do those steps afterwards, but usually it&#8217;s a much better design to only gather the lines you need from either a database or a file, it saves time, simplifies code, and is a much more efficient way of dealing the problems that Google Collections solve.</p>
<p>My 2 cents<br />
K</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dominic Mitchell</title>
		<link>http://happygiraffe.net/blog/2008/07/22/google-collections-to-the-rescue/#comment-528</link>
		<dc:creator>Dominic Mitchell</dc:creator>
		<pubDate>Tue, 22 Jul 2008 14:23:57 +0000</pubDate>
		<guid isPermaLink="false">tag:happygiraffe.net:Article12975#comment-528</guid>
		<description>&lt;p&gt;I missed one more that was utterly invaluable when I needed it: &lt;a href="http://google-collections.googlecode.com/svn/trunk/javadoc/com/google/common/collect/Iterables.html#reverse(java.util.List)" rel="nofollow"&gt;Iterables.reverse()&lt;/a&gt;.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>I missed one more that was utterly invaluable when I needed it: <a href="http://google-collections.googlecode.com/svn/trunk/javadoc/com/google/common/collect/Iterables.html#reverse(java.util.List)" rel="nofollow">Iterables.reverse()</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
