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, retainAllequals, forEachWithOccurrences, hashCode, occurrencesOf, sizeDistinctallSatisfy, anySatisfy, asLazy, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, noneSatisfy, toArray, toBag, toList, toSetappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringvoid addOccurrences(boolean item,
int occurrences)
boolean removeOccurrences(boolean item,
int occurrences)
MutableBooleanBag select(BooleanPredicate predicate)
select in interface BooleanBagselect in interface BooleanIterableselect in interface MutableBooleanCollectionMutableBooleanBag reject(BooleanPredicate predicate)
reject in interface BooleanBagreject in interface BooleanIterablereject in interface MutableBooleanCollection<V> MutableBag<V> collect(BooleanToObjectFunction<? extends V> function)
collect in interface BooleanBagcollect in interface BooleanIterablecollect in interface MutableBooleanCollectionMutableBooleanBag with(boolean element)
with in interface MutableBooleanCollectionMutableBooleanBag without(boolean element)
without in interface MutableBooleanCollectionMutableBooleanBag withAll(BooleanIterable elements)
withAll in interface MutableBooleanCollectionMutableBooleanBag withoutAll(BooleanIterable elements)
withoutAll in interface MutableBooleanCollectionMutableBooleanBag asUnmodifiable()
asUnmodifiable in interface MutableBooleanCollectionMutableBooleanBag asSynchronized()
asSynchronized in interface MutableBooleanCollectionImmutableBooleanBag toImmutable()
toImmutable in interface BooleanBagtoImmutable in interface MutableBooleanCollectionCopyright © 2004–2017. All rights reserved.