BooleanIterable
, BooleanSet
, ImmutableBooleanCollection
, PrimitiveIterable
public interface ImmutableBooleanSet extends ImmutableBooleanCollection, BooleanSet
Modifier and Type | Method | 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.
|
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 |
tap(BooleanProcedure procedure) |
allSatisfy, anySatisfy, asLazy, booleanIterator, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, noneSatisfy, reduce, reduceIfEmpty, reject, select, toArray, toBag, toList, toSet
equals, freeze, hashCode, toImmutable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
ImmutableBooleanSet select(BooleanPredicate predicate)
BooleanIterable
select
in interface BooleanIterable
select
in interface BooleanSet
select
in interface ImmutableBooleanCollection
ImmutableBooleanSet reject(BooleanPredicate predicate)
BooleanIterable
reject
in interface BooleanIterable
reject
in interface BooleanSet
reject
in interface ImmutableBooleanCollection
default ImmutableBooleanSet tap(BooleanProcedure procedure)
tap
in interface BooleanIterable
tap
in interface BooleanSet
tap
in interface ImmutableBooleanCollection
<V> ImmutableSet<V> collect(BooleanToObjectFunction<? extends V> function)
BooleanIterable
collect
in interface BooleanIterable
collect
in interface BooleanSet
collect
in interface ImmutableBooleanCollection
ImmutableBooleanSet newWith(boolean element)
newWith
in interface ImmutableBooleanCollection
ImmutableBooleanSet newWithout(boolean element)
newWithout
in interface ImmutableBooleanCollection
ImmutableBooleanSet newWithAll(BooleanIterable elements)
newWithAll
in interface ImmutableBooleanCollection
ImmutableBooleanSet newWithoutAll(BooleanIterable elements)
newWithoutAll
in interface ImmutableBooleanCollection
Copyright © 2004–2019. All rights reserved.