SyntaxFix
Write A Post
Hire A Developer
Questions
Yes there is retainAll check out this
retainAll
Set<Type> intersection = new HashSet<Type>(s1); intersection.retainAll(s2);