public interface ImmutableBooleanSet extends ImmutableBooleanCollection, BooleanSet
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableSet<V> |
collect(BooleanToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
default ImmutableBooleanSet |
difference(BooleanSet set)
Returns the set of all members of
this that are not members of set. |
default ImmutableBooleanSet |
intersect(BooleanSet set)
Returns the set of all objects that are members of both
this and set. |
ImmutableBooleanSet |
newWith(boolean element) |
ImmutableBooleanSet |
newWithAll(BooleanIterable elements) |
ImmutableBooleanSet |
newWithout(boolean element) |
ImmutableBooleanSet |
newWithoutAll(BooleanIterable elements) |
ImmutableBooleanSet |
reject(BooleanPredicate predicate)
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return false for the specified predicate.
|
ImmutableBooleanSet |
select(BooleanPredicate predicate)
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return true for the specified predicate.
|
default ImmutableBooleanSet |
symmetricDifference(BooleanSet set)
Returns the set of all objects that are a member of exactly one of
this and set (elements which
are in one of the sets, but not in both). |
default ImmutableBooleanSet |
tap(BooleanProcedure procedure) |
default ImmutableBooleanSet |
union(BooleanSet set) |
cartesianProduct, equals, freeze, hashCode, isProperSubsetOf, isSubsetOf, toImmutableallSatisfy, anySatisfy, asLazy, booleanIterator, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, noneSatisfy, reduce, reduceIfEmpty, reject, select, toArray, toArray, toBag, toList, toSetappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringImmutableBooleanSet select(BooleanPredicate predicate)
BooleanIterableselect in interface BooleanIterableselect in interface BooleanSetselect in interface ImmutableBooleanCollectionImmutableBooleanSet reject(BooleanPredicate predicate)
BooleanIterablereject in interface BooleanIterablereject in interface BooleanSetreject in interface ImmutableBooleanCollectiondefault ImmutableBooleanSet tap(BooleanProcedure procedure)
tap in interface BooleanIterabletap in interface BooleanSettap in interface ImmutableBooleanCollection<V> ImmutableSet<V> collect(BooleanToObjectFunction<? extends V> function)
BooleanIterablecollect in interface BooleanIterablecollect in interface BooleanSetcollect in interface ImmutableBooleanCollectiondefault ImmutableBooleanSet union(BooleanSet set)
union in interface BooleanSetdefault ImmutableBooleanSet intersect(BooleanSet set)
this and set. The intersection of
[1, 2, 3] and [2, 3, 4] is the set [2, 3].intersect in interface BooleanSetdefault ImmutableBooleanSet difference(BooleanSet set)
this that are not members of set. The difference of
[1, 2, 3] and [2, 3, 4] is [1].difference in interface BooleanSetdefault ImmutableBooleanSet symmetricDifference(BooleanSet set)
this and set (elements which
are in one of the sets, but not in both). For instance, for the sets [1, 2, 3] and [2, 3, 4], the symmetric
difference set is [1, 4] . It is the set difference of the union and the intersection.symmetricDifference in interface BooleanSetImmutableBooleanSet newWith(boolean element)
newWith in interface ImmutableBooleanCollectionImmutableBooleanSet newWithout(boolean element)
newWithout in interface ImmutableBooleanCollectionImmutableBooleanSet newWithAll(BooleanIterable elements)
newWithAll in interface ImmutableBooleanCollectionImmutableBooleanSet newWithoutAll(BooleanIterable elements)
newWithoutAll in interface ImmutableBooleanCollectionCopyright © 2004–2023. All rights reserved.