Is there any built-in functionality for classical set operations on the java.util.Collection class? My specific implementation would be for ArrayList, but this sounds like s
I would recommend Google Guava. The Sets class seems to have exactly what you are looking for. It has a intersection method and a difference method.
This presentation is probably something you want to watch if you're interested. It refers to Google Collections, which was Guava's original name.