I have an ArrayList in Java which is made up of a type containing two strings and an integer. I can successfully test if one element of this ArrayList equals another but I f
Did you override the equals method? This is required to make contains work correctly.