equals/hashcode/tostring for int and double arraylists