hugegraph-issue-83
Since the apache CollectionUtils.intersection() is based on copy and element count statistics,
most of the time, we can change the original set without having to reconstruct the set and copy.
So we provide an optimized method based on retainAll().
Also add hasIntersection(set1, set2) for CollectionUtils.intersection(set1, set2).isEmpty()
hugegraph-issue-83 Since the apache CollectionUtils.intersection() is based on copy and element count statistics, most of the time, we can change the original set without having to reconstruct the set and copy. So we provide an optimized method based on retainAll(). Also add hasIntersection(set1, set2) for CollectionUtils.intersection(set1, set2).isEmpty()