Skip to content
Advertisement

Tag: intersection

Intersection and union of ArrayLists in Java

Are there any methods to do so? I was looking but couldn’t find any. Another question: I need these methods so I can filter files. Some are AND filters and some are OR filters (like in set theory), so I need to filter according to all files and the unite/intersects ArrayLists that holds those files. Should I use a different

Advertisement