You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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()
The text was updated successfully, but these errors were encountered:
* chore: support java 17
* fix: unitest
* fix: server JAX-B API not found warning
* chore: improve code
* fix: hugeconfig test
* chore: resolve conflict
* fix: version unit test
* chore: improve code
* chore: improve impl version
* chore: improve code
* refactor: hugeconfig get
* chore: improve code
Expected behavior 期望表现
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)
forCollectionUtils.intersection(set1, set2).isEmpty()
The text was updated successfully, but these errors were encountered: