<?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: Java Generics&#8230;</title>
	<atom:link href="http://stacyprowell.com/blog/2009/04/14/java-generics/feed/" rel="self" type="application/rss+xml" />
	<link>http://stacyprowell.com/blog/2009/04/14/java-generics/</link>
	<description>Ugh, Stacy's talking again...</description>
	<lastBuildDate>Sun, 18 Jul 2010 17:47:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: dolcraith</title>
		<link>http://stacyprowell.com/blog/2009/04/14/java-generics/comment-page-1/#comment-96</link>
		<dc:creator>dolcraith</dc:creator>
		<pubDate>Thu, 28 Jan 2010 01:50:36 +0000</pubDate>
		<guid isPermaLink="false">http://stacyprowell.com/blog/?p=137#comment-96</guid>
		<description>Doesn&#039;t work for nested generics, but nothing really does.  I believe this is one of Java&#039;s weakest points.</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t work for nested generics, but nothing really does.  I believe this is one of Java&#8217;s weakest points.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stacy</title>
		<link>http://stacyprowell.com/blog/2009/04/14/java-generics/comment-page-1/#comment-10</link>
		<dc:creator>stacy</dc:creator>
		<pubDate>Wed, 15 Apr 2009 04:47:02 +0000</pubDate>
		<guid isPermaLink="false">http://stacyprowell.com/blog/?p=137#comment-10</guid>
		<description>The checkedCollection() doesn&#039;t seem to give me what I want; specifically, the recover(Class) method.  That is, I have a method that must take a Collection&lt;?&gt;, but I really want a Collection&lt;Foo&gt; or Collection&lt;Bar&gt;.  I can check the type and then use recover(Foo.class) or recover(Bar.class).

Collection&lt;Foo&gt; fooColl = coll.recover(Foo.class);

I&#039;m then free to pass this on to methods that require the correct type.</description>
		<content:encoded><![CDATA[<p>The checkedCollection() doesn&#8217;t seem to give me what I want; specifically, the recover(Class) method.  That is, I have a method that must take a Collection&lt;?>, but I really want a Collection&lt;Foo> or Collection&lt;Bar>.  I can check the type and then use recover(Foo.class) or recover(Bar.class).</p>
<p>Collection&lt;Foo> fooColl = coll.recover(Foo.class);</p>
<p>I&#8217;m then free to pass this on to methods that require the correct type.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neal Gafter</title>
		<link>http://stacyprowell.com/blog/2009/04/14/java-generics/comment-page-1/#comment-8</link>
		<dc:creator>Neal Gafter</dc:creator>
		<pubDate>Tue, 14 Apr 2009 20:52:11 +0000</pubDate>
		<guid isPermaLink="false">http://stacyprowell.com/blog/?p=137#comment-8</guid>
		<description>See java.util.Collections.checkedCollection.  It&#039;s been there since Java 5.</description>
		<content:encoded><![CDATA[<p>See java.util.Collections.checkedCollection.  It&#8217;s been there since Java 5.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
