<?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 Tips: Generic Method</title>
	<atom:link href="http://satukubik.com/2007/12/16/java-tips-generic-method/feed/" rel="self" type="application/rss+xml" />
	<link>http://satukubik.com/2007/12/16/java-tips-generic-method/</link>
	<description>techie, javvie, savvie</description>
	<lastBuildDate>Fri, 19 Mar 2010 16:08:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nanda Firdausi</title>
		<link>http://satukubik.com/2007/12/16/java-tips-generic-method/#comment-13190</link>
		<dc:creator>Nanda Firdausi</dc:creator>
		<pubDate>Wed, 05 Aug 2009 15:15:02 +0000</pubDate>
		<guid isPermaLink="false">http://satukubik.com/2007/12/16/java-tips-generic-method/#comment-13190</guid>
		<description>@p3t0r: I just realized that your way won&#039;t work because there is no way the main method know that this method will ALWAYS throw exception. The result is: it will ask for return statement, which I don&#039;t want here.</description>
		<content:encoded><![CDATA[<p>@p3t0r: I just realized that your way won&#8217;t work because there is no way the main method know that this method will ALWAYS throw exception. The result is: it will ask for return statement, which I don&#8217;t want here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Habib</title>
		<link>http://satukubik.com/2007/12/16/java-tips-generic-method/#comment-798</link>
		<dc:creator>Habib</dc:creator>
		<pubDate>Tue, 22 Apr 2008 21:29:26 +0000</pubDate>
		<guid isPermaLink="false">http://satukubik.com/2007/12/16/java-tips-generic-method/#comment-798</guid>
		<description>Generic is very nice ;) No more casting with ArrayList and Vector :D</description>
		<content:encoded><![CDATA[<p>Generic is very nice <img src='http://satukubik.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  No more casting with ArrayList and Vector <img src='http://satukubik.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nanda Firdausi</title>
		<link>http://satukubik.com/2007/12/16/java-tips-generic-method/#comment-231</link>
		<dc:creator>Nanda Firdausi</dc:creator>
		<pubDate>Sun, 23 Dec 2007 11:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://satukubik.com/2007/12/16/java-tips-generic-method/#comment-231</guid>
		<description>Good idea, but my point is that this is just an example on how to do it.</description>
		<content:encoded><![CDATA[<p>Good idea, but my point is that this is just an example on how to do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: p3t0r</title>
		<link>http://satukubik.com/2007/12/16/java-tips-generic-method/#comment-230</link>
		<dc:creator>p3t0r</dc:creator>
		<pubDate>Sun, 23 Dec 2007 11:25:45 +0000</pubDate>
		<guid isPermaLink="false">http://satukubik.com/2007/12/16/java-tips-generic-method/#comment-230</guid>
		<description>Oops, sorry for the markup issues, it should be:


public &lt;E extends Throwable&gt; E logAndThrowException(E e) throws E {
  log.warn(e);
  throw (e);
}</description>
		<content:encoded><![CDATA[<p>Oops, sorry for the markup issues, it should be:</p>
<p>public &lt;E extends Throwable&gt; E logAndThrowException(E e) throws E {<br />
  log.warn(e);<br />
  throw (e);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: p3t0r</title>
		<link>http://satukubik.com/2007/12/16/java-tips-generic-method/#comment-229</link>
		<dc:creator>p3t0r</dc:creator>
		<pubDate>Sun, 23 Dec 2007 11:24:32 +0000</pubDate>
		<guid isPermaLink="false">http://satukubik.com/2007/12/16/java-tips-generic-method/#comment-229</guid>
		<description>Why didn&#039;t you create a logAndThrow method? And why didn&#039;t you specify a supertype for E?


public  E logAndThrowException(E e) throws E {
  log.warn(e);
  throw (e);
}
</description>
		<content:encoded><![CDATA[<p>Why didn&#8217;t you create a logAndThrow method? And why didn&#8217;t you specify a supertype for E?</p>
<p>public  E logAndThrowException(E e) throws E {<br />
  log.warn(e);<br />
  throw (e);<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->