Most operations are non-destructive, i.e. no input sets are modified during execution. The exception is operations ending in "Into." These accept the target collection of the final calculation as the first parameter.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <A, B> LazyIterable | |
| public static <A, B, C> LazyIterable | |
| public static <E> MutableSet | |
| public static <E, R extends Set | differenceInto(SetIterable<? extends E> minuendSet, SetIterable<? extends E> subtrahendSet, R targetSet)
|
| public static <T> ImmutableSet | immutablePowerSet(Set<T> set)
Returns an Immutable version of powerset where the inner sets are also immutable. |
| public static <E> MutableSet | |
| public static <E, R extends Set | |
| public static <E> boolean | isProperSubsetOf(SetIterable<? extends E> candidateSubset, SetIterable<? extends E> candidateSuperset)
|
| public static <E> boolean | |
| public static <T> MutableSet | |
| public static <T> MutableSet | |
| private static <T> MutableSet | |
| public static <E> MutableSet | |
| public static <E, R extends Set | |
| public static <E> MutableSet | |
| public static <E, R extends Set |
| SetIterables | back to summary |
|---|---|
| private SetIterables() | |
| cartesianProduct | back to summary |
|---|---|
| public static <A, B> LazyIterable | |
| cartesianProduct | back to summary |
|---|---|
| public static <A, B, C> LazyIterable | |
| difference | back to summary |
|---|---|
| public static <E> MutableSet | |
| differenceInto | back to summary |
|---|---|
| public static <E, R extends Set | |
| immutablePowerSet | back to summary |
|---|---|
| public static <T> ImmutableSet Returns an Immutable version of powerset where the inner sets are also immutable. | |
| intersect | back to summary |
|---|---|
| public static <E> MutableSet | |
| intersectInto | back to summary |
|---|---|
| public static <E, R extends Set | |
| isProperSubsetOf | back to summary |
|---|---|
| public static <E> boolean isProperSubsetOf(SetIterable<? extends E> candidateSubset, SetIterable<? extends E> candidateSuperset) | |
| isSubsetOf | back to summary |
|---|---|
| public static <E> boolean isSubsetOf(SetIterable<? extends E> candidateSubset, SetIterable<? extends E> candidateSuperset) | |
| powerSet | back to summary |
|---|---|
| public static <T> MutableSet | |
| powerSet | back to summary |
|---|---|
| public static <T> MutableSet | |
| powerSetWithSeed | back to summary |
|---|---|
| private static <T> MutableSet | |
| symmetricDifference | back to summary |
|---|---|
| public static <E> MutableSet | |
| symmetricDifferenceInto | back to summary |
|---|---|
| public static <E, R extends Set | |
| union | back to summary |
|---|---|
| public static <E> MutableSet | |
| unionInto | back to summary |
|---|---|
| public static <E, R extends Set | |