KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In Java (maybe using Guava?), is there some method provided to get the difference of two Collection s, e.g. a List and a Set without modifying one of these Collection s (else there would be collection1.removeAll(collection2) ? In Guava there is Sets.difference(set1,set2) , but it only works for Set s, not for arbitrary collections. Thanks for any hint!
Tags (comma-separated)
Save Edits
Cancel