Nagendra Singhconnectsalesforce.hashnode.dev·Nov 20, 2023Apex: Customizing Equals and HashCode Methods for Your Needs in Custom ClassesIntroduction equals() method: This method helps us figure out if two instances of a class are the same or not. In Apex, all classes come with a basic Object class that already has a default equals() method. This default method checks if two objects ...224 reads#equals
Igvir Ramirezpwd.hashnode.dev·Feb 22, 2023Using Hash Codes as Unique IdentifiersIntroduction In this article, we will cover a common use case for software developers: Using and generating Unique Identifiers. Let´s start with a definition: What is an identifier? The simplest explanation usually comes from Wikipedia: An identifi...10 likes·2.6K readsJava
Rogerio Angeliskiangeliski.com.br·Jan 5, 2014Equals e HashCode : O que é, porque usar e como implementarUma das duvidas mais comuns para os programadores que estão começando em java é sobre a dupla "equals e hashCode". O hashCode é uma ferramenta da JVM usada para montar a tabela de hash de modo correto. "Ham? Do que você ta falando velho?" Tabela Hash...1 like·2.0K readsJava