public class CollectionUtils extends Object
| Constructor and Description |
|---|
CollectionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> boolean |
disjoint(Collection<T> c1,
Collection<T> c2) |
static <T> boolean |
sameElts(Collection<T> left,
Collection<T> right)
Test for same elements, regarless of carinality
|
public static <T> boolean disjoint(Collection<T> c1, Collection<T> c2)
public static <T> boolean sameElts(Collection<T> left, Collection<T> right)
Licenced under the Apache License, Version 2.0