@NotThreadSafe public final class UnmodifiableBooleanBag extends AbstractUnmodifiableBooleanCollection implements org.eclipse.collections.api.bag.primitive.MutableBooleanBag
| Modifier and Type | Method and Description |
|---|---|
void |
addOccurrences(boolean item,
int occurrences) |
org.eclipse.collections.api.bag.primitive.MutableBooleanBag |
asSynchronized() |
org.eclipse.collections.api.bag.primitive.MutableBooleanBag |
asUnmodifiable() |
<V> org.eclipse.collections.api.bag.MutableBag<V> |
collect(org.eclipse.collections.api.block.function.primitive.BooleanToObjectFunction<? extends V> function) |
boolean |
equals(Object otherBag) |
void |
forEachWithOccurrences(org.eclipse.collections.api.block.procedure.primitive.BooleanIntProcedure procedure) |
int |
hashCode() |
int |
occurrencesOf(boolean item) |
org.eclipse.collections.api.bag.primitive.MutableBooleanBag |
reject(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
boolean |
removeOccurrences(boolean item,
int occurrences) |
org.eclipse.collections.api.bag.primitive.MutableBooleanBag |
select(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
int |
sizeDistinct() |
org.eclipse.collections.api.bag.primitive.ImmutableBooleanBag |
toImmutable() |
UnmodifiableBooleanBag |
with(boolean element) |
UnmodifiableBooleanBag |
withAll(org.eclipse.collections.api.BooleanIterable elements) |
UnmodifiableBooleanBag |
without(boolean element) |
UnmodifiableBooleanBag |
withoutAll(org.eclipse.collections.api.BooleanIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, booleanIterator, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, isEmpty, makeString, makeString, makeString, noneSatisfy, notEmpty, remove, removeAll, removeAll, retainAll, retainAll, size, toArray, toBag, toList, toSet, toStringadd, addAll, addAll, booleanIterator, clear, remove, removeAll, removeAll, retainAll, retainAllpublic UnmodifiableBooleanBag with(boolean element)
with in interface org.eclipse.collections.api.bag.primitive.MutableBooleanBagwith in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionwith in class AbstractUnmodifiableBooleanCollectionpublic UnmodifiableBooleanBag without(boolean element)
without in interface org.eclipse.collections.api.bag.primitive.MutableBooleanBagwithout in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionwithout in class AbstractUnmodifiableBooleanCollectionpublic UnmodifiableBooleanBag withAll(org.eclipse.collections.api.BooleanIterable elements)
withAll in interface org.eclipse.collections.api.bag.primitive.MutableBooleanBagwithAll in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionwithAll in class AbstractUnmodifiableBooleanCollectionpublic UnmodifiableBooleanBag withoutAll(org.eclipse.collections.api.BooleanIterable elements)
withoutAll in interface org.eclipse.collections.api.bag.primitive.MutableBooleanBagwithoutAll in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionwithoutAll in class AbstractUnmodifiableBooleanCollectionpublic void addOccurrences(boolean item,
int occurrences)
addOccurrences in interface org.eclipse.collections.api.bag.primitive.MutableBooleanBagpublic boolean removeOccurrences(boolean item,
int occurrences)
removeOccurrences in interface org.eclipse.collections.api.bag.primitive.MutableBooleanBagpublic int sizeDistinct()
sizeDistinct in interface org.eclipse.collections.api.bag.primitive.BooleanBagpublic int occurrencesOf(boolean item)
occurrencesOf in interface org.eclipse.collections.api.bag.primitive.BooleanBagpublic void forEachWithOccurrences(org.eclipse.collections.api.block.procedure.primitive.BooleanIntProcedure procedure)
forEachWithOccurrences in interface org.eclipse.collections.api.bag.primitive.BooleanBagpublic org.eclipse.collections.api.bag.primitive.MutableBooleanBag select(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
select in interface org.eclipse.collections.api.bag.primitive.BooleanBagselect in interface org.eclipse.collections.api.bag.primitive.MutableBooleanBagselect in interface org.eclipse.collections.api.BooleanIterableselect in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionselect in class AbstractUnmodifiableBooleanCollectionpublic org.eclipse.collections.api.bag.primitive.MutableBooleanBag reject(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
reject in interface org.eclipse.collections.api.bag.primitive.BooleanBagreject in interface org.eclipse.collections.api.bag.primitive.MutableBooleanBagreject in interface org.eclipse.collections.api.BooleanIterablereject in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionreject in class AbstractUnmodifiableBooleanCollectionpublic <V> org.eclipse.collections.api.bag.MutableBag<V> collect(org.eclipse.collections.api.block.function.primitive.BooleanToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.bag.primitive.BooleanBagcollect in interface org.eclipse.collections.api.bag.primitive.MutableBooleanBagcollect in interface org.eclipse.collections.api.BooleanIterablecollect in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectioncollect in class AbstractUnmodifiableBooleanCollectionpublic boolean equals(Object otherBag)
public int hashCode()
public org.eclipse.collections.api.bag.primitive.MutableBooleanBag asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.bag.primitive.MutableBooleanBagasUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionasUnmodifiable in class AbstractUnmodifiableBooleanCollectionpublic org.eclipse.collections.api.bag.primitive.MutableBooleanBag asSynchronized()
asSynchronized in interface org.eclipse.collections.api.bag.primitive.MutableBooleanBagasSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionasSynchronized in class AbstractUnmodifiableBooleanCollectionpublic org.eclipse.collections.api.bag.primitive.ImmutableBooleanBag toImmutable()
toImmutable in interface org.eclipse.collections.api.bag.primitive.BooleanBagtoImmutable in interface org.eclipse.collections.api.bag.primitive.MutableBooleanBagtoImmutable in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectiontoImmutable in class AbstractUnmodifiableBooleanCollectionCopyright © 2004–2017. All rights reserved.