SyntaxFix
Write A Post
Hire A Developer
Questions
For finding objects which are meaningfully equal, you need to override equals and hashcode methods for the class. You can find a good tutorial here.
equals
hashcode
http://www.thejavageek.com/2013/06/28/significance-of-equals-and-hashcode/