<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Durgadeep's Weblog</title>
	<atom:link href="http://durgadeep.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://durgadeep.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 12 Aug 2011 21:58:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='durgadeep.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Durgadeep's Weblog</title>
		<link>http://durgadeep.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://durgadeep.wordpress.com/osd.xml" title="Durgadeep&#039;s Weblog" />
	<atom:link rel='hub' href='http://durgadeep.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Protected: Data Structures and Algorithms in Action.</title>
		<link>http://durgadeep.wordpress.com/2011/08/03/data-structures-and-algorithms-in-action/</link>
		<comments>http://durgadeep.wordpress.com/2011/08/03/data-structures-and-algorithms-in-action/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 19:17:10 +0000</pubDate>
		<dc:creator>durgadeep</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://durgadeep.wordpress.com/?p=28</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durgadeep.wordpress.com&amp;blog=4717501&amp;post=28&amp;subd=durgadeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post is password protected. You must visit the website and enter the password to continue reading.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/durgadeep.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/durgadeep.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/durgadeep.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/durgadeep.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/durgadeep.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/durgadeep.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/durgadeep.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/durgadeep.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/durgadeep.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/durgadeep.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/durgadeep.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/durgadeep.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/durgadeep.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/durgadeep.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durgadeep.wordpress.com&amp;blog=4717501&amp;post=28&amp;subd=durgadeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://durgadeep.wordpress.com/2011/08/03/data-structures-and-algorithms-in-action/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9457518f552c159920fb5691d79539ae?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">durgadeep</media:title>
		</media:content>
	</item>
		<item>
		<title>Generics made simple.</title>
		<link>http://durgadeep.wordpress.com/2008/11/07/generics-made-simple/</link>
		<comments>http://durgadeep.wordpress.com/2008/11/07/generics-made-simple/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 21:37:54 +0000</pubDate>
		<dc:creator>durgadeep</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Generics]]></category>

		<guid isPermaLink="false">http://durgadeep.wordpress.com/?p=3</guid>
		<description><![CDATA[/* * To change this template, choose Tools &#124; Templates * and open the template in the editor. */ package runthis; /** * * @author dt120194 */ public class Person { public Person() { System.out.println(&#8221; I am a Person &#8220;); } } class Employee extends Person { public Employee() { System.out.println(&#8221; I am an Employee [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durgadeep.wordpress.com&amp;blog=4717501&amp;post=3&amp;subd=durgadeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>/*<br />
* To change this template, choose Tools | Templates<br />
* and open the template in the editor.<br />
*/</p>
<p>package runthis;</p>
<p>/**<br />
*<br />
* @author dt120194<br />
*/<br />
public class Person {<br />
public Person() {<br />
System.out.println(&#8221; I am a Person &#8220;);<br />
}<br />
}<br />
class Employee extends Person {<br />
public Employee() {<br />
System.out.println(&#8221; I am an Employee &#8220;);<br />
}<br />
}</p>
<p>class Banker extends Employee {<br />
public Banker() {<br />
System.out.println(&#8221; I am a Banker &#8220;);<br />
}<br />
}<br />
class Bubba extends Banker {<br />
public Bubba() {<br />
System.out.println(&#8221; I am in Bubba &#8220;);<br />
}<br />
}</p>
<p>/*<br />
* To change this template, choose Tools | Templates<br />
* and open the template in the editor.<br />
*/</p>
<p>package runthis;</p>
<p>import java.util.ArrayList;<br />
import java.util.Arrays;<br />
import java.util.List;</p>
<p>/**<br />
*<br />
* @author dt120194<br />
*/<br />
public class Main {</p>
<p>/**<br />
* @param args the command line arguments<br />
*/<br />
public static void main(String[] args) {</p>
<p>// To Illustrated bounded wildcard.<br />
List&lt;Number&gt; abc = new ArrayList&lt;Number&gt;();<br />
List&lt;Integer&gt; def = Arrays.asList(3,3,4,5,6,6,6,6);<br />
doAComparision(def);<br />
System.out.println(&#8220;\n\n\n&#8221;);<br />
abc.add(6);<br />
abc.add(7);<br />
doAComparision(abc); // works.<br />
List&lt;Double&gt; ghi = Arrays.asList(3.9, 3.0);<br />
// helloStudy(ghi); // This BREAKS!!</p>
<p>// TO illustrate ? extends<br />
List&lt;Person&gt; person = new ArrayList&lt;Person&gt;();<br />
List&lt;Employee&gt; emp = new ArrayList&lt;Employee&gt;();<br />
List&lt;Banker&gt; banker = new ArrayList&lt;Banker&gt;();<br />
List&lt;Bubba&gt; cust = new ArrayList&lt;Bubba&gt;();<br />
List&lt;Object&gt; genObject = new ArrayList&lt;Object&gt;();</p>
<p>// THese will all work&#8230; since the wild card says.<br />
// Any thing that extends Person.<br />
testPersonWithExtends(person);<br />
testPersonWithExtends(emp);<br />
testPersonWithExtends(banker);</p>
<p>// Testing the testBankerWithExtends.<br />
// testBankerWithExtends(person); // !! THis will break.. since it does not extend from Employee<br />
testBankerWithExtends(emp);<br />
testBankerWithExtends(banker);</p>
<p>// Testing testPersonWithSuper.<br />
testEmployeeWithSuper(person);<br />
testEmployeeWithSuper(emp);<br />
//  This breaks because banker is a subclass of Employee<br />
// testEmployeeWithSuper(banker);</p>
<p>// Testing testBankerWithSuper<br />
testBankerWithSuper(genObject);<br />
testBankerWithSuper(person);<br />
testBankerWithSuper(emp);<br />
testBankerWithSuper(banker);<br />
// The following will break, but the above three pass<br />
// Since Banker and all its super class.<br />
// testBankerWithSuper(cust); &lt; == This is Broken</p>
<p>}</p>
<p>private static void doAComparision(List&lt;? extends Number&gt; def) {<br />
for(Number i : def) {<br />
System.out.println(&#8221; Integer List : &#8221; + i.toString());<br />
}<br />
}</p>
<p>private static void helloStudy(List&lt;? super Integer&gt; def) {<br />
for(Object i : def) {<br />
System.out.println(&#8221; Integer List : &#8221; + i.toString());<br />
}<br />
}</p>
<p>private static void testPersonWithExtends(List &lt;? extends Person&gt; h) {<br />
System.out.println(&#8221; I am in testPersonWithExtends&#8221;);<br />
}</p>
<p>private static void testBankerWithExtends(List &lt;? extends Employee&gt; h) {<br />
System.out.println(&#8221; I am in testBankerWithExtends&#8221;);<br />
}</p>
<p>private static void testEmployeeWithSuper(List &lt;? super Employee&gt; h) {<br />
System.out.println(&#8221; I am in testPersonWithSuper&#8221;);<br />
}</p>
<p>private static void testBankerWithSuper(List &lt;? super Banker&gt; b) {<br />
System.out.println(&#8221; I am in testBankerWithSuper&#8221;);<br />
}<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/durgadeep.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/durgadeep.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/durgadeep.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/durgadeep.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/durgadeep.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/durgadeep.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/durgadeep.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/durgadeep.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/durgadeep.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/durgadeep.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/durgadeep.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/durgadeep.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/durgadeep.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/durgadeep.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durgadeep.wordpress.com&amp;blog=4717501&amp;post=3&amp;subd=durgadeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://durgadeep.wordpress.com/2008/11/07/generics-made-simple/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9457518f552c159920fb5691d79539ae?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">durgadeep</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://durgadeep.wordpress.com/2008/09/03/hello-world/</link>
		<comments>http://durgadeep.wordpress.com/2008/09/03/hello-world/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 20:41:38 +0000</pubDate>
		<dc:creator>durgadeep</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durgadeep.wordpress.com&amp;blog=4717501&amp;post=1&amp;subd=durgadeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to <a href="http://wordpress.com/">WordPress.com</a>. This is your first post. Edit or delete it and start blogging!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/durgadeep.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/durgadeep.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/durgadeep.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/durgadeep.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/durgadeep.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/durgadeep.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/durgadeep.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/durgadeep.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/durgadeep.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/durgadeep.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/durgadeep.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/durgadeep.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/durgadeep.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/durgadeep.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/durgadeep.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/durgadeep.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durgadeep.wordpress.com&amp;blog=4717501&amp;post=1&amp;subd=durgadeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://durgadeep.wordpress.com/2008/09/03/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9457518f552c159920fb5691d79539ae?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">durgadeep</media:title>
		</media:content>
	</item>
	</channel>
</rss>
