How can I tell if two arraylists are the same? I have two arraylists that I believe are identical but arraylist1.equals(arraylist2) always returns false. They both have the same number of items with the same content and types in the same order. How can I tell what if anything is different? or is there some other way to compare arraylists.