Title says it all, what is the best practice for finding out if collection contains any element of other collection?
In java I would execute it like this
CollectionUtils.containsAny(a, b)
using common apache collection utils, where variables a/b are collections.
How to implement this behavior in scala? Or is there library like CollectionUtils from above?
I dont want to use the common-apache library because i would have to convert scala collection to java collection.