| Package | Description |
|---|---|
| org.apache.commons.collections4 |
This package contains the interfaces and utilities shared across all the subpackages of this component.
|
| Modifier and Type | Method and Description |
|---|---|
static <E> SetUtils.SetView<E> |
SetUtils.difference(java.util.Set<? extends E> a,
java.util.Set<? extends E> b)
Returns a unmodifiable view containing the difference of the given
Sets, denoted by a \ b (or a - b). |
static <E> SetUtils.SetView<E> |
SetUtils.disjunction(java.util.Set<? extends E> a,
java.util.Set<? extends E> b)
Returns a unmodifiable view of the symmetric difference of the given
Sets. |
static <E> SetUtils.SetView<E> |
SetUtils.intersection(java.util.Set<? extends E> a,
java.util.Set<? extends E> b)
Returns a unmodifiable view of the intersection of the given
Sets. |
static <E> SetUtils.SetView<E> |
SetUtils.union(java.util.Set<? extends E> a,
java.util.Set<? extends E> b)
Returns a unmodifiable view of the union of the given
Sets. |