<?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/"
	>

<channel>
	<title>Tech Notes &#187; java</title>
	<atom:link href="http://www.ryannitz.org/tech-notes/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ryannitz.org/tech-notes</link>
	<description>Miscellaneous technology examples and notes</description>
	<lastBuildDate>Sun, 03 Apr 2011 16:48:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<image>
  <link>http://www.ryannitz.org/tech-notes</link>
  <url>http://ryan-nitz/favicon.ico</url>
  <title>Tech Notes</title>
</image>
		<item>
		<title>Java &#8211; Not A Number Gotcha</title>
		<link>http://www.ryannitz.org/tech-notes/2009/01/25/java-not-a-number-gotcha/</link>
		<comments>http://www.ryannitz.org/tech-notes/2009/01/25/java-not-a-number-gotcha/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 16:06:38 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Examples]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://leisuremech.com/?p=122</guid>
		<description><![CDATA[There are always subtle nuances to every computer language. Recently, I found the following NaN (not a number) nuance in Java: Bad: if (value == Double.NaN)     // Do something... Good: if (Double.isNaN(value))     // Do something....]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-124" title="java" src="http://www.ryannitz.org/tech-notes/wp-content/uploads/2009/01/java.jpg" alt="java" width="150" height="150" /></p>
<p>There are always subtle nuances to every computer language. Recently, I found the following NaN (not a number) nuance in Java:</p>
<p><strong>Bad:</strong></p>
<pre>if (value == Double.NaN)
    // Do something...</pre>
<p><strong>Good:</strong></p>
<pre>if (Double.isNaN(value))

    // Do something....</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ryannitz.org/tech-notes/2009/01/25/java-not-a-number-gotcha/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>BDB JE &#8211; Locks, Blocks and Deadlocks</title>
		<link>http://www.ryannitz.org/tech-notes/2008/12/13/bdb-je-locks-blocks-and-deadlocks/</link>
		<comments>http://www.ryannitz.org/tech-notes/2008/12/13/bdb-je-locks-blocks-and-deadlocks/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 14:53:18 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[bdb]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[lock]]></category>

		<guid isPermaLink="false">http://leisuremech.com/?p=79</guid>
		<description><![CDATA[Below is a handy reference link about BDB JE (Berkeley Database Java Edition) locks, blocks and transactions: Locks, Blocks and Deadlocks After running some tests, we were amazed by the performance of the concurrent locking mechanism in BDB JE.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ryannitz.org/tech-notes/wp-content/uploads/2008/12/smallsleepycat.gif"><img class="alignnone size-medium wp-image-82" title="smallsleepycat" src="http://www.ryannitz.org/tech-notes/wp-content/uploads/2008/12/smallsleepycat.gif" alt="" width="164" height="60" /></a></p>
<p>Below is a handy reference link about BDB JE (Berkeley Database Java Edition) locks, blocks and transactions:</p>
<ul>
<li><a href="http://www.oracle.com/technology/documentation/berkeley-db/je/TransactionGettingStarted/blocking_deadlocks.html" target="_blank">Locks, Blocks and Deadlocks</a></li>
</ul>
<p>After running some tests, we were amazed by the performance of the concurrent locking mechanism in BDB JE.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryannitz.org/tech-notes/2008/12/13/bdb-je-locks-blocks-and-deadlocks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

