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