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(Set<? extends E> a,
Set<? extends E> b)
Returns a unmodifiable view containing the difference of the given
Set s, denoted by a \ b (or a - b ). |
static <E> SetUtils.SetView<E> |
SetUtils.disjunction(Set<? extends E> a,
Set<? extends E> b)
Returns a unmodifiable view of the symmetric difference of the given
Set s. |
static <E> SetUtils.SetView<E> |
SetUtils.intersection(Set<? extends E> a,
Set<? extends E> b)
Returns a unmodifiable view of the intersection of the given
Set s. |
static <E> SetUtils.SetView<E> |
SetUtils.union(Set<? extends E> a,
Set<? extends E> b)
Returns a unmodifiable view of the union of the given
Set s. |
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.