public interface MutableBooleanBag extends MutableBooleanCollection, BooleanBag
Modifier and Type | Method and Description |
---|---|
void |
addOccurrences(boolean item,
int occurrences) |
MutableBooleanBag |
asSynchronized() |
MutableBooleanBag |
asUnmodifiable() |
<V> MutableBag<V> |
collect(BooleanToObjectFunction<? extends V> function) |
MutableBooleanBag |
reject(BooleanPredicate predicate) |
boolean |
removeOccurrences(boolean item,
int occurrences) |
MutableBooleanBag |
select(BooleanPredicate predicate) |
ImmutableBooleanBag |
toImmutable()
Returns an immutable copy of this bag.
|
MutableBooleanBag |
with(boolean element) |
MutableBooleanBag |
withAll(BooleanIterable elements) |
MutableBooleanBag |
without(boolean element) |
MutableBooleanBag |
withoutAll(BooleanIterable elements) |
add, addAll, addAll, booleanIterator, clear, remove, removeAll, removeAll, retainAll, retainAll
equals, forEachWithOccurrences, hashCode, occurrencesOf, sizeDistinct
allSatisfy, anySatisfy, asLazy, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, noneSatisfy, toArray, toBag, toList, toSet
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
void addOccurrences(boolean item, int occurrences)
boolean removeOccurrences(boolean item, int occurrences)
MutableBooleanBag select(BooleanPredicate predicate)
select
in interface BooleanBag
select
in interface BooleanIterable
select
in interface MutableBooleanCollection
MutableBooleanBag reject(BooleanPredicate predicate)
reject
in interface BooleanBag
reject
in interface BooleanIterable
reject
in interface MutableBooleanCollection
<V> MutableBag<V> collect(BooleanToObjectFunction<? extends V> function)
collect
in interface BooleanBag
collect
in interface BooleanIterable
collect
in interface MutableBooleanCollection
MutableBooleanBag with(boolean element)
with
in interface MutableBooleanCollection
MutableBooleanBag without(boolean element)
without
in interface MutableBooleanCollection
MutableBooleanBag withAll(BooleanIterable elements)
withAll
in interface MutableBooleanCollection
MutableBooleanBag withoutAll(BooleanIterable elements)
withoutAll
in interface MutableBooleanCollection
MutableBooleanBag asUnmodifiable()
asUnmodifiable
in interface MutableBooleanCollection
MutableBooleanBag asSynchronized()
asSynchronized
in interface MutableBooleanCollection
ImmutableBooleanBag toImmutable()
toImmutable
in interface BooleanBag
toImmutable
in interface MutableBooleanCollection
Copyright © 2004–2016. All rights reserved.