Interface MutableBooleanSet
- All Superinterfaces:
BooleanIterable,BooleanSet,MutableBooleanCollection,PrimitiveIterable
- All Known Implementing Classes:
BooleanHashSet,SynchronizedBooleanSet,UnmodifiableBooleanSet
public interface MutableBooleanSet extends MutableBooleanCollection, BooleanSet
This file was automatically generated from template file mutablePrimitiveSet.stg.
- Since:
- 3.0.
-
Method Summary
Modifier and Type Method Description MutableBooleanSetasSynchronized()MutableBooleanSetasUnmodifiable()<V> MutableSet<V>collect(BooleanToObjectFunction<? extends V> function)Returns a new collection with the results of applying the specified function on each element of the source collection.BooleanSetfreeze()Returns a frozen copy of this set.default MutableBooleanSetnewEmpty()Creates a new empty mutable version of the same Set type.MutableBooleanSetreject(BooleanPredicate predicate)Returns a new BooleanIterable with all of the elements in the BooleanIterable that return false for the specified predicate.MutableBooleanSetselect(BooleanPredicate predicate)Returns a new BooleanIterable with all of the elements in the BooleanIterable that return true for the specified predicate.default MutableBooleanSettap(BooleanProcedure procedure)ImmutableBooleanSettoImmutable()Returns an immutable copy of this set.MutableBooleanSetwith(boolean element)MutableBooleanSetwithAll(BooleanIterable elements)MutableBooleanSetwithout(boolean element)MutableBooleanSetwithoutAll(BooleanIterable elements)Methods inherited from interface org.eclipse.collections.api.BooleanIterable
allSatisfy, anySatisfy, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, noneSatisfy, reduce, reduceIfEmpty, reject, select, toArray, toArray, toBag, toList, toSetMethods inherited from interface org.eclipse.collections.api.set.primitive.BooleanSet
equals, hashCodeMethods inherited from interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollection
add, addAll, addAll, booleanIterator, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAllMethods inherited from interface org.eclipse.collections.api.PrimitiveIterable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
-
Method Details
-
select
Description copied from interface:BooleanIterableReturns a new BooleanIterable with all of the elements in the BooleanIterable that return true for the specified predicate.- Specified by:
selectin interfaceBooleanIterable- Specified by:
selectin interfaceBooleanSet- Specified by:
selectin interfaceMutableBooleanCollection
-
reject
Description copied from interface:BooleanIterableReturns a new BooleanIterable with all of the elements in the BooleanIterable that return false for the specified predicate.- Specified by:
rejectin interfaceBooleanIterable- Specified by:
rejectin interfaceBooleanSet- Specified by:
rejectin interfaceMutableBooleanCollection
-
tap
- Specified by:
tapin interfaceBooleanIterable- Specified by:
tapin interfaceBooleanSet- Specified by:
tapin interfaceMutableBooleanCollection- Since:
- 9.0.
-
collect
Description copied from interface:BooleanIterableReturns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.- Specified by:
collectin interfaceBooleanIterable- Specified by:
collectin interfaceBooleanSet- Specified by:
collectin interfaceMutableBooleanCollection
-
with
- Specified by:
within interfaceMutableBooleanCollection
-
without
- Specified by:
withoutin interfaceMutableBooleanCollection
-
withAll
- Specified by:
withAllin interfaceMutableBooleanCollection
-
withoutAll
- Specified by:
withoutAllin interfaceMutableBooleanCollection
-
asUnmodifiable
MutableBooleanSet asUnmodifiable()- Specified by:
asUnmodifiablein interfaceMutableBooleanCollection
-
asSynchronized
MutableBooleanSet asSynchronized()- Specified by:
asSynchronizedin interfaceMutableBooleanCollection
-
freeze
BooleanSet freeze()Returns a frozen copy of this set. A frozen copy is the same thing as an immutable copy without safe-publish guarantees.- Specified by:
freezein interfaceBooleanSet
-
toImmutable
ImmutableBooleanSet toImmutable()Returns an immutable copy of this set.- Specified by:
toImmutablein interfaceBooleanSet- Specified by:
toImmutablein interfaceMutableBooleanCollection
-
newEmpty
Creates a new empty mutable version of the same Set type.- Specified by:
newEmptyin interfaceMutableBooleanCollection- Since:
- 9.2.
-