About the Author
Brad Mongar

Brad Mongar

Brad Mongar is a Kansas City-based software developer. He is a Black Belt and his favorite activity in Martial Arts is Board Breaking. He enjoys strategy video games and table-top RPGs, in addition to raising two great kids alongside his wife, Melinda.

Implementing .equals

Brad Mongar Articles, Java, Opinion 6 Comments

Attention: The following article was published over 14 years ago, and the information provided may be aged or outdated. Please keep that in mind as you read the post.Scenario You are working on a project and you have two objects. You want to know if, according to the business, they are the same item. So you call .equals. It returns …