public class UnmodifiableBooleanSet extends AbstractUnmodifiableBooleanCollection implements MutableBooleanSet
| Constructor and Description |
|---|
UnmodifiableBooleanSet(MutableBooleanSet set) |
| Modifier and Type | Method and Description |
|---|---|
MutableBooleanSet |
asSynchronized() |
MutableBooleanSet |
asUnmodifiable() |
LazyIterable<BooleanBooleanPair> |
cartesianProduct(BooleanSet set) |
<V> MutableSet<V> |
collect(BooleanToObjectFunction<? extends V> function) |
boolean |
equals(Object otherSet) |
BooleanSet |
freeze() |
int |
hashCode() |
MutableBooleanSet |
newEmpty() |
static UnmodifiableBooleanSet |
of(MutableBooleanSet set)
This method will take a MutableBooleanSet and wrap it directly in a UnmodifiableBooleanSet.
|
MutableBooleanSet |
reject(BooleanPredicate predicate) |
MutableBooleanSet |
select(BooleanPredicate predicate) |
ImmutableBooleanSet |
toImmutable() |
UnmodifiableBooleanSet |
with(boolean element) |
UnmodifiableBooleanSet |
withAll(BooleanIterable elements) |
UnmodifiableBooleanSet |
without(boolean element) |
UnmodifiableBooleanSet |
withoutAll(BooleanIterable elements) |
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, toStringdifference, intersect, symmetricDifference, tap, unionadd, addAll, addAll, booleanIterator, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAllisProperSubsetOf, isSubsetOfallSatisfy, 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 UnmodifiableBooleanSet(MutableBooleanSet set)
public static UnmodifiableBooleanSet of(MutableBooleanSet set)
public UnmodifiableBooleanSet with(boolean element)
with in interface MutableBooleanCollectionwith in interface MutableBooleanSetwith in class AbstractUnmodifiableBooleanCollectionpublic UnmodifiableBooleanSet without(boolean element)
without in interface MutableBooleanCollectionwithout in interface MutableBooleanSetwithout in class AbstractUnmodifiableBooleanCollectionpublic UnmodifiableBooleanSet withAll(BooleanIterable elements)
withAll in interface MutableBooleanCollectionwithAll in interface MutableBooleanSetwithAll in class AbstractUnmodifiableBooleanCollectionpublic UnmodifiableBooleanSet withoutAll(BooleanIterable elements)
withoutAll in interface MutableBooleanCollectionwithoutAll in interface MutableBooleanSetwithoutAll in class AbstractUnmodifiableBooleanCollectionpublic MutableBooleanSet select(BooleanPredicate predicate)
select in interface BooleanIterableselect in interface MutableBooleanCollectionselect in interface BooleanSetselect in interface MutableBooleanSetselect in class AbstractUnmodifiableBooleanCollectionpublic MutableBooleanSet reject(BooleanPredicate predicate)
reject in interface BooleanIterablereject in interface MutableBooleanCollectionreject in interface BooleanSetreject in interface MutableBooleanSetreject in class AbstractUnmodifiableBooleanCollectionpublic <V> MutableSet<V> collect(BooleanToObjectFunction<? extends V> function)
collect in interface BooleanIterablecollect in interface MutableBooleanCollectioncollect in interface BooleanSetcollect in interface MutableBooleanSetcollect in class AbstractUnmodifiableBooleanCollectionpublic LazyIterable<BooleanBooleanPair> cartesianProduct(BooleanSet set)
cartesianProduct in interface BooleanSetpublic boolean equals(Object otherSet)
equals in interface BooleanSetequals in class Objectpublic int hashCode()
hashCode in interface BooleanSethashCode in class Objectpublic MutableBooleanSet asUnmodifiable()
asUnmodifiable in interface MutableBooleanCollectionasUnmodifiable in interface MutableBooleanSetasUnmodifiable in class AbstractUnmodifiableBooleanCollectionpublic MutableBooleanSet asSynchronized()
asSynchronized in interface MutableBooleanCollectionasSynchronized in interface MutableBooleanSetasSynchronized in class AbstractUnmodifiableBooleanCollectionpublic BooleanSet freeze()
freeze in interface BooleanSetfreeze in interface MutableBooleanSetpublic ImmutableBooleanSet toImmutable()
toImmutable in interface MutableBooleanCollectiontoImmutable in interface BooleanSettoImmutable in interface MutableBooleanSettoImmutable in class AbstractUnmodifiableBooleanCollectionpublic MutableBooleanSet newEmpty()
newEmpty in interface MutableBooleanCollectionnewEmpty in interface MutableBooleanSetCopyright © 2004–2022. All rights reserved.