Course contentsShow
Java
Lesson 1265 of 2,87028. Collections Utility ClassPro lesson

Collections.disjoint: Testing Collection Intersection

Check if two collections have no common elements using disjoint(), returning true when sets are completely separate.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.