public interface MutableBooleanCollection extends BooleanIterable
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(boolean element) |
boolean |
addAll(boolean... source) |
boolean |
addAll(BooleanIterable source) |
MutableBooleanCollection |
asSynchronized() |
MutableBooleanCollection |
asUnmodifiable() |
MutableBooleanIterator |
booleanIterator()
Returns a primitive iterator that can be used to iterate over the BooleanIterable in an
imperative style.
|
void |
clear() |
<V> MutableCollection<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 MutableBooleanCollection |
newEmpty()
Creates a new empty mutable version of the same collection type.
|
MutableBooleanCollection |
reject(BooleanPredicate predicate)
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return false for the specified predicate.
|
boolean |
remove(boolean value) |
boolean |
removeAll(boolean... source) |
boolean |
removeAll(BooleanIterable source) |
default boolean |
removeIf(BooleanPredicate predicate) |
boolean |
retainAll(boolean... source) |
boolean |
retainAll(BooleanIterable elements) |
MutableBooleanCollection |
select(BooleanPredicate predicate)
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return true for the specified predicate.
|
default MutableBooleanCollection |
tap(BooleanProcedure procedure) |
ImmutableBooleanCollection |
toImmutable() |
MutableBooleanCollection |
with(boolean element) |
MutableBooleanCollection |
withAll(BooleanIterable elements) |
MutableBooleanCollection |
without(boolean element) |
MutableBooleanCollection |
withoutAll(BooleanIterable elements) |
allSatisfy, anySatisfy, asLazy, 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, toStringMutableBooleanIterator booleanIterator()
BooleanIterablebooleanIterator in interface BooleanIterableboolean add(boolean element)
boolean addAll(boolean... source)
boolean addAll(BooleanIterable source)
boolean remove(boolean value)
boolean removeAll(BooleanIterable source)
boolean removeAll(boolean... source)
default boolean removeIf(BooleanPredicate predicate)
boolean retainAll(BooleanIterable elements)
Collection.retainAll(Collection)boolean retainAll(boolean... source)
Collection.retainAll(Collection)void clear()
MutableBooleanCollection select(BooleanPredicate predicate)
BooleanIterableselect in interface BooleanIterableMutableBooleanCollection reject(BooleanPredicate predicate)
BooleanIterablereject in interface BooleanIterable<V> MutableCollection<V> collect(BooleanToObjectFunction<? extends V> function)
BooleanIterablecollect in interface BooleanIterableMutableBooleanCollection with(boolean element)
MutableBooleanCollection without(boolean element)
MutableBooleanCollection withAll(BooleanIterable elements)
MutableBooleanCollection withoutAll(BooleanIterable elements)
MutableBooleanCollection asUnmodifiable()
MutableBooleanCollection asSynchronized()
ImmutableBooleanCollection toImmutable()
default MutableBooleanCollection tap(BooleanProcedure procedure)
tap in interface BooleanIterabledefault MutableBooleanCollection newEmpty()
Copyright © 2004–2023. All rights reserved.