<?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>hashcode Archives - Petamind</title>
	<atom:link href="https://petaminds.com/tag/hashcode/feed/" rel="self" type="application/rss+xml" />
	<link>https://petaminds.com/tag/hashcode/</link>
	<description>A.I, Data and Software Engineering</description>
	<lastBuildDate>Tue, 05 Oct 2021 06:06:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://petaminds.com/wp-content/uploads/2019/09/ic_launcher.png</url>
	<title>hashcode Archives - Petamind</title>
	<link>https://petaminds.com/tag/hashcode/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>WHY DO WE NEED TO OVERRIDE EQUALS AND HASHCODE METHODS IN JAVA/Kotlin</title>
		<link>https://petaminds.com/why-do-we-need-to-override-equals-and-hashcode-methods-in-java-kotlin/</link>
					<comments>https://petaminds.com/why-do-we-need-to-override-equals-and-hashcode-methods-in-java-kotlin/#comments</comments>
		
		<dc:creator><![CDATA[Tung Nguyen]]></dc:creator>
		<pubDate>Fri, 19 Mar 2021 02:12:56 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[back-end]]></category>
		<category><![CDATA[front-end]]></category>
		<category><![CDATA[equals]]></category>
		<category><![CDATA[hashcode]]></category>
		<category><![CDATA[JAVA]]></category>
		<category><![CDATA[Kotlin]]></category>
		<guid isPermaLink="false">https://petaminds.com/?p=2889</guid>

					<description><![CDATA[<p>In this post, we will discuss why it is important to&#160;override equals and hashCode method&#160;in Java/Kotlin. Item 9 in Josh Bloch’s Effective Java suggests always override&#160;hashCode()&#160;method if the class overrides&#160;equals(). In this post, we will discuss why this is necessary and good practice. &#160;We know that two objects are considered equal only if their references [&#8230;]</p>
<p>The post <a href="https://petaminds.com/why-do-we-need-to-override-equals-and-hashcode-methods-in-java-kotlin/">WHY DO WE NEED TO OVERRIDE EQUALS AND HASHCODE METHODS IN JAVA/Kotlin</a> appeared first on <a href="https://petaminds.com">Petamind</a>.</p>
]]></description>
		
					<wfw:commentRss>https://petaminds.com/why-do-we-need-to-override-equals-and-hashcode-methods-in-java-kotlin/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
