<?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: Type Erasure</title>
	<atom:link href="http://javapapers.com/core-java/type-erasure/feed/" rel="self" type="application/rss+xml" />
	<link>http://javapapers.com/core-java/type-erasure/</link>
	<description>Blog on core java, servlets, jsp and design patterns.</description>
	<lastBuildDate>Mon, 06 Feb 2012 18:56:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Anonymous</title>
		<link>http://javapapers.com/core-java/type-erasure/#comment-9507</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 23 Jan 2012 22:24:08 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=391#comment-9507</guid>
		<description>Can you explain Java Generics more in Detail in your next post?</description>
		<content:encoded><![CDATA[<p>Can you explain Java Generics more in Detail in your next post?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bhabani Padhy</title>
		<link>http://javapapers.com/core-java/type-erasure/#comment-5550</link>
		<dc:creator>Bhabani Padhy</dc:creator>
		<pubDate>Wed, 25 May 2011 08:06:15 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=391#comment-5550</guid>
		<description>It really helps me to understand about type erasure with the generics example.

Really nice job :)</description>
		<content:encoded><![CDATA[<p>It really helps me to understand about type erasure with the generics example.</p>
<p>Really nice job :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sumanta</title>
		<link>http://javapapers.com/core-java/type-erasure/#comment-5335</link>
		<dc:creator>sumanta</dc:creator>
		<pubDate>Wed, 18 May 2011 07:36:30 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=391#comment-5335</guid>
		<description>nice explanation for type erasure, superb answer</description>
		<content:encoded><![CDATA[<p>nice explanation for type erasure, superb answer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Panneer</title>
		<link>http://javapapers.com/core-java/type-erasure/#comment-3217</link>
		<dc:creator>Panneer</dc:creator>
		<pubDate>Sat, 22 Jan 2011 09:31:15 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=391#comment-3217</guid>
		<description>It&#039;s good to read in this site..
Im going to prefer this to my friends!!</description>
		<content:encoded><![CDATA[<p>It&#8217;s good to read in this site..<br />
Im going to prefer this to my friends!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: j0hn</title>
		<link>http://javapapers.com/core-java/type-erasure/#comment-3194</link>
		<dc:creator>j0hn</dc:creator>
		<pubDate>Fri, 21 Jan 2011 06:37:44 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=391#comment-3194</guid>
		<description>Cool Site :-)</description>
		<content:encoded><![CDATA[<p>Cool Site :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olo</title>
		<link>http://javapapers.com/core-java/type-erasure/#comment-3052</link>
		<dc:creator>Olo</dc:creator>
		<pubDate>Wed, 12 Jan 2011 19:53:22 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=391#comment-3052</guid>
		<description>Heck, in my previous post the generics were cut out from Java source, probably because of HTML tag filtering :(

On the other hand, it seems that the blog engine does its own type erasure ;)


Trying again with HTML entities:

import java.util.LinkedList;
import java.util.List;

public class GenericList {
    public static void main(String[] args) {
        List&lt;Number&gt; numberList = new LinkedList&lt;Number&gt;();
        numberList.add(Integer.valueOf(3));
        numberList.add(Long.valueOf(Long.MAX_VALUE));
        printList(numberList);
    }

    private static void printList(List&lt;? extends Number&gt; printedList) {
        System.out.println(&quot;List: &quot; + printedList);
    }
}</description>
		<content:encoded><![CDATA[<p>Heck, in my previous post the generics were cut out from Java source, probably because of HTML tag filtering :(</p>
<p>On the other hand, it seems that the blog engine does its own type erasure ;)</p>
<p>Trying again with HTML entities:</p>
<p>import java.util.LinkedList;<br />
import java.util.List;</p>
<p>public class GenericList {<br />
    public static void main(String[] args) {<br />
        List&lt;Number&gt; numberList = new LinkedList&lt;Number&gt;();<br />
        numberList.add(Integer.valueOf(3));<br />
        numberList.add(Long.valueOf(Long.MAX_VALUE));<br />
        printList(numberList);<br />
    }</p>
<p>    private static void printList(List&lt;? extends Number&gt; printedList) {<br />
        System.out.println(&#8220;List: &#8221; + printedList);<br />
    }<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

