BooleanIterable
, PrimitiveIterable
MutableBooleanBag
, MutableBooleanList
, MutableBooleanSet
AbstractSynchronizedBooleanCollection
, AbstractUnmodifiableBooleanCollection
, BooleanArrayList
, BooleanHashBag
, BooleanHashSet
, SynchronizedBooleanBag
, SynchronizedBooleanCollection
, SynchronizedBooleanList
, SynchronizedBooleanSet
, UnmodifiableBooleanBag
, UnmodifiableBooleanCollection
, UnmodifiableBooleanList
, UnmodifiableBooleanSet
public interface MutableBooleanCollection extends BooleanIterable
Modifier and Type | Method | 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, count, detectIfNone, each, flatCollect, forEach, injectInto, noneSatisfy, reduce, reduceIfEmpty, reject, select, toArray, toBag, toList, toSet
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
MutableBooleanIterator booleanIterator()
BooleanIterable
booleanIterator
in interface BooleanIterable
boolean 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)
BooleanIterable
select
in interface BooleanIterable
MutableBooleanCollection reject(BooleanPredicate predicate)
BooleanIterable
reject
in interface BooleanIterable
<V> MutableCollection<V> collect(BooleanToObjectFunction<? extends V> function)
BooleanIterable
collect
in interface BooleanIterable
MutableBooleanCollection 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 BooleanIterable
default MutableBooleanCollection newEmpty()
Copyright © 2004–2020. All rights reserved.