public class Sets extends Object
Modifier and Type | Method and Description |
---|---|
static <E> Set<E> |
getIntersection(Set<E> set1,
Set<E> set2)
Returns the intersection of the two sets.
|
static boolean |
intersects(Set<?> set1,
Set<?> set2)
Returns
true if the given sets have non empty intersection. |
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.