<?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"
	>
<channel>
	<title>Comments on: Object.equals()</title>
	<atom:link href="http://www.symphonious.net/2004/08/30/objectequals/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.symphonious.net/2004/08/30/objectequals/</link>
	<description>Living in a state of accord.</description>
	<pubDate>Fri, 21 Nov 2008 09:31:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Anonymous</title>
		<link>http://www.symphonious.net/2004/08/30/objectequals/#comment-761</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 17 Mar 2005 17:57:04 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/?p=211#comment-761</guid>
		<description>It's all in the JavaDox and the Java Language Specification. Also, a lot of examples can be found in the JDK source code. 
In the Object.equals() JavaDoc it says "Note that it is generally necessary to override the hashCode method whenever this method is overridden, so as to maintain the general contract for the hashCode method, which states that equal objects must have equal hash codes."

The only article I read covering this was the one in JavaWorld. Byron Ellacott instead thinks, the JavaWorld article is total crap (that's how I got it after reading his blog). 

Just my 2 cents.

Anonmous</description>
		<content:encoded><![CDATA[<p>It&#8217;s all in the JavaDox and the Java Language Specification. Also, a lot of examples can be found in the JDK source code.<br />
In the Object.equals() JavaDoc it says &#8220;Note that it is generally necessary to override the hashCode method whenever this method is overridden, so as to maintain the general contract for the hashCode method, which states that equal objects must have equal hash codes.&#8221;</p>
<p>The only article I read covering this was the one in JavaWorld. Byron Ellacott instead thinks, the JavaWorld article is total crap (that&#8217;s how I got it after reading his blog). </p>
<p>Just my 2 cents.</p>
<p>Anonmous</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pinocio</title>
		<link>http://www.symphonious.net/2004/08/30/objectequals/#comment-207</link>
		<dc:creator>Pinocio</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/?p=211#comment-207</guid>
		<description>You are absolutly correct. 
It is surpising how often people don't see it! That getClass() comparison even recently made it in JavaWorld and both the author and the editor refused to retract it. Amasing!</description>
		<content:encoded><![CDATA[<p>You are absolutly correct.<br />
It is surpising how often people don&#8217;t see it! That getClass() comparison even recently made it in JavaWorld and both the author and the editor refused to retract it. Amasing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leo</title>
		<link>http://www.symphonious.net/2004/08/30/objectequals/#comment-208</link>
		<dc:creator>Leo</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/?p=211#comment-208</guid>
		<description>The usual problem with semantics: What does it mean that two objects are equal?

Does class matter? If so, it should be part of equals(). If not, it shouldn't. I can think of many times when you want to adhere to the superclass's definition, and many times when it would have been madness to do so.</description>
		<content:encoded><![CDATA[<p>The usual problem with semantics: What does it mean that two objects are equal?</p>
<p>Does class matter? If so, it should be part of equals(). If not, it shouldn&#8217;t. I can think of many times when you want to adhere to the superclass&#8217;s definition, and many times when it would have been madness to do so.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Byron Ellacott</title>
		<link>http://www.symphonious.net/2004/08/30/objectequals/#comment-209</link>
		<dc:creator>Byron Ellacott</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/?p=211#comment-209</guid>
		<description>Excerpt:

"Andrae and Adrian both offer different perspectives on defining the equals method for Java classes.  I say they're both wrong.

And, they're both right."
</description>
		<content:encoded><![CDATA[<p>Excerpt:</p>
<p>&#8220;Andrae and Adrian both offer different perspectives on defining the equals method for Java classes.  I say they&#8217;re both wrong.</p>
<p>And, they&#8217;re both right.&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
