Originally posted by Justin Porter:
... I found out from the API that the indexOf method of the arraylist calls the "equals()" method to figure out if it found the right object or not. So that's why I wrote my own equals method. But that equals method is not getting called (I found that out from testing). So how can I make the indexOf() method call my equals() method? Any help would be appreciated!