public class UnmodifiableBooleanBag extends AbstractUnmodifiableBooleanCollection implements MutableBooleanBag
| Constructor and Description |
|---|
UnmodifiableBooleanBag(MutableBooleanBag bag) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, booleanIterator, chunk, clear, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, injectInto, isEmpty, makeString, makeString, makeString, noneSatisfy, notEmpty, reduce, reduceIfEmpty, remove, removeAll, removeAll, removeIf, retainAll, retainAll, size, toArray, toArray, toBag, toList, toSet, toStringselectDuplicates, tapadd, addAll, addAll, booleanIterator, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAlltoStringOfItemToCountallSatisfy, 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, toStringpublic UnmodifiableBooleanBag(MutableBooleanBag bag)
public UnmodifiableBooleanBag with(boolean element)
with in interface MutableBooleanBagwith in interface MutableBooleanCollectionwith in class AbstractUnmodifiableBooleanCollectionpublic UnmodifiableBooleanBag without(boolean element)
without in interface MutableBooleanBagwithout in interface MutableBooleanCollectionwithout in class AbstractUnmodifiableBooleanCollectionpublic UnmodifiableBooleanBag withAll(BooleanIterable elements)
withAll in interface MutableBooleanBagwithAll in interface MutableBooleanCollectionwithAll in class AbstractUnmodifiableBooleanCollectionpublic UnmodifiableBooleanBag withoutAll(BooleanIterable elements)
withoutAll in interface MutableBooleanBagwithoutAll in interface MutableBooleanCollectionwithoutAll in class AbstractUnmodifiableBooleanCollectionpublic void addOccurrences(boolean item,
int occurrences)
addOccurrences in interface MutableBooleanBagpublic boolean removeOccurrences(boolean item,
int occurrences)
removeOccurrences in interface MutableBooleanBagpublic int sizeDistinct()
sizeDistinct in interface BooleanBagpublic int occurrencesOf(boolean item)
occurrencesOf in interface BooleanBagpublic void forEachWithOccurrences(BooleanIntProcedure procedure)
forEachWithOccurrences in interface BooleanBagpublic MutableBooleanBag selectByOccurrences(IntPredicate predicate)
selectByOccurrences in interface BooleanBagselectByOccurrences in interface MutableBooleanBagpublic MutableBooleanSet selectUnique()
selectUnique in interface BooleanBagselectUnique in interface MutableBooleanBagpublic MutableList<BooleanIntPair> topOccurrences(int count)
topOccurrences in interface BooleanBagtopOccurrences in interface MutableBooleanBagpublic MutableList<BooleanIntPair> bottomOccurrences(int count)
bottomOccurrences in interface BooleanBagbottomOccurrences in interface MutableBooleanBagpublic MutableBooleanBag select(BooleanPredicate predicate)
select in interface BooleanBagselect in interface MutableBooleanBagselect in interface BooleanIterableselect in interface MutableBooleanCollectionselect in class AbstractUnmodifiableBooleanCollectionpublic MutableBooleanBag reject(BooleanPredicate predicate)
reject in interface BooleanBagreject in interface MutableBooleanBagreject in interface BooleanIterablereject in interface MutableBooleanCollectionreject in class AbstractUnmodifiableBooleanCollectionpublic <V> MutableBag<V> collect(BooleanToObjectFunction<? extends V> function)
collect in interface BooleanBagcollect in interface MutableBooleanBagcollect in interface BooleanIterablecollect in interface MutableBooleanCollectioncollect in class AbstractUnmodifiableBooleanCollectionpublic boolean equals(Object otherBag)
equals in interface BooleanBagequals in class Objectpublic int hashCode()
hashCode in interface BooleanBaghashCode in class Objectpublic MutableBooleanBag asUnmodifiable()
asUnmodifiable in interface MutableBooleanBagasUnmodifiable in interface MutableBooleanCollectionasUnmodifiable in class AbstractUnmodifiableBooleanCollectionpublic MutableBooleanBag asSynchronized()
asSynchronized in interface MutableBooleanBagasSynchronized in interface MutableBooleanCollectionasSynchronized in class AbstractUnmodifiableBooleanCollectionpublic ImmutableBooleanBag toImmutable()
toImmutable in interface BooleanBagtoImmutable in interface MutableBooleanBagtoImmutable in interface MutableBooleanCollectiontoImmutable in class AbstractUnmodifiableBooleanCollectionpublic MutableBooleanBag newEmpty()
newEmpty in interface MutableBooleanBagnewEmpty in interface MutableBooleanCollectionCopyright © 2004–2022. All rights reserved.