I have an application that generates many arraylists, stored in a collection. All the arraylists will always have a common element.
I need to work out which is the common element. I managed this with two lists and using List.contains(...) but need to scale this to many lists.
How can I do this?