Check if two collections have elements in common
Collections.disjoint(list1, list2);
Written by Mateusz Herych
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Java
Authors
Related Tags
#java
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#