Hmm, I'm not sure without an SSCCE. What happens instead of what you'd expect?
Type: Posts; User: KevinWorkman
Hmm, I'm not sure without an SSCCE. What happens instead of what you'd expect?
Yeah I understand how you're using the method, it's just a little misleading because equals() is a very specific method in the Object class, and it is overridden for a different purpose. It's fine as...
Interesting. Usually equals() methods return a boolean. Your method looks more like a get() or a find() function.
Still, I'm not sure where the problem is. You say you're having trouble with the equals() method? What exactly is giving you trouble?
When posting code, please use highlight tags to preserve formatting. I added them for you this time.
Also, that's way too much code for us to go through. We just don't have time. For better help...