java - ArrayList not using the overridden equals - Stack Overflow
I'm having a problem with getting an ArrayList to correctly use an overriden equals. the problem is that I'm trying to use the equals to only test for a single key field, and using ArrayList.conta... ... Generally, you need to also override hashCode() but...