public interface ImmutableBooleanCollection extends BooleanIterable
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableCollection<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.
|
ImmutableBooleanCollection |
newWith(boolean element) |
ImmutableBooleanCollection |
newWithAll(BooleanIterable elements) |
ImmutableBooleanCollection |
newWithout(boolean element) |
ImmutableBooleanCollection |
newWithoutAll(BooleanIterable elements) |
ImmutableBooleanCollection |
reject(BooleanPredicate predicate)
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return false for the specified predicate.
|
ImmutableBooleanCollection |
select(BooleanPredicate predicate)
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return true for the specified predicate.
|
default ImmutableBooleanCollection |
tap(BooleanProcedure procedure) |
allSatisfy, 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, noneSatisfy, reduce, reduceIfEmpty, reject, select, toArray, toArray, toBag, toList, toSetappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString<V> ImmutableCollection<V> collect(BooleanToObjectFunction<? extends V> function)
BooleanIterablecollect in interface BooleanIterabledefault ImmutableBooleanCollection tap(BooleanProcedure procedure)
tap in interface BooleanIterableImmutableBooleanCollection select(BooleanPredicate predicate)
BooleanIterableselect in interface BooleanIterableImmutableBooleanCollection reject(BooleanPredicate predicate)
BooleanIterablereject in interface BooleanIterableImmutableBooleanCollection newWith(boolean element)
ImmutableBooleanCollection newWithout(boolean element)
ImmutableBooleanCollection newWithAll(BooleanIterable elements)
ImmutableBooleanCollection newWithoutAll(BooleanIterable elements)
Copyright © 2004–2021. All rights reserved.