Class SynchronizedBooleanSet
java.lang.Object
org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedBooleanCollection
org.eclipse.collections.impl.set.mutable.primitive.SynchronizedBooleanSet
- All Implemented Interfaces:
Serializable,BooleanIterable,MutableBooleanCollection,PrimitiveIterable,BooleanSet,MutableBooleanSet
public class SynchronizedBooleanSet
extends AbstractSynchronizedBooleanCollection
implements MutableBooleanSet
A synchronized view of a
MutableBooleanSet. It is imperative that the user manually synchronize on the collection when iterating over it using the
BooleanIterator, as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveSet.stg.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasLazy()boxed()<V> MutableSet<V>collect(BooleanToObjectFunction<? extends V> function) booleanfreeze()inthashCode()newEmpty()static SynchronizedBooleanSetof(MutableBooleanSet set) This method will take a MutableBooleanSet and wrap it directly in a SynchronizedBooleanSet.static SynchronizedBooleanSetof(MutableBooleanSet set, Object lock) This method will take a MutableBooleanSet and wrap it directly in a SynchronizedBooleanSet.reject(BooleanPredicate predicate) select(BooleanPredicate predicate) with(boolean element) withAll(BooleanIterable elements) without(boolean element) withoutAll(BooleanIterable elements) Methods inherited from class org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedBooleanCollection
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, 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, toStringMethods inherited from interface org.eclipse.collections.api.BooleanIterable
allSatisfy, anySatisfy, 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, toSetMethods inherited from interface org.eclipse.collections.api.set.primitive.BooleanSet
isProperSubsetOf, isSubsetOfMethods 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.set.primitive.MutableBooleanSet
difference, intersect, symmetricDifference, tap, unionMethods inherited from interface org.eclipse.collections.api.PrimitiveIterable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
-
Constructor Details
-
SynchronizedBooleanSet
-
SynchronizedBooleanSet
-
-
Method Details
-
of
This method will take a MutableBooleanSet and wrap it directly in a SynchronizedBooleanSet. -
of
This method will take a MutableBooleanSet and wrap it directly in a SynchronizedBooleanSet. Additionally, a developer specifies which lock to use with the collection. -
without
- Specified by:
withoutin interfaceMutableBooleanCollection- Specified by:
withoutin interfaceMutableBooleanSet- Overrides:
withoutin classAbstractSynchronizedBooleanCollection
-
boxed
- Specified by:
boxedin interfaceMutableBooleanSet
-
with
- Specified by:
within interfaceMutableBooleanCollection- Specified by:
within interfaceMutableBooleanSet- Overrides:
within classAbstractSynchronizedBooleanCollection
-
withAll
- Specified by:
withAllin interfaceMutableBooleanCollection- Specified by:
withAllin interfaceMutableBooleanSet- Overrides:
withAllin classAbstractSynchronizedBooleanCollection
-
withoutAll
- Specified by:
withoutAllin interfaceMutableBooleanCollection- Specified by:
withoutAllin interfaceMutableBooleanSet- Overrides:
withoutAllin classAbstractSynchronizedBooleanCollection
-
select
- Specified by:
selectin interfaceBooleanIterable- Specified by:
selectin interfaceBooleanSet- Specified by:
selectin interfaceMutableBooleanCollection- Specified by:
selectin interfaceMutableBooleanSet- Overrides:
selectin classAbstractSynchronizedBooleanCollection
-
reject
- Specified by:
rejectin interfaceBooleanIterable- Specified by:
rejectin interfaceBooleanSet- Specified by:
rejectin interfaceMutableBooleanCollection- Specified by:
rejectin interfaceMutableBooleanSet- Overrides:
rejectin classAbstractSynchronizedBooleanCollection
-
collect
- Specified by:
collectin interfaceBooleanIterable- Specified by:
collectin interfaceBooleanSet- Specified by:
collectin interfaceMutableBooleanCollection- Specified by:
collectin interfaceMutableBooleanSet- Overrides:
collectin classAbstractSynchronizedBooleanCollection
-
cartesianProduct
- Specified by:
cartesianProductin interfaceBooleanSet
-
equals
- Specified by:
equalsin interfaceBooleanSet- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceBooleanSet- Overrides:
hashCodein classObject
-
asLazy
- Specified by:
asLazyin interfaceBooleanIterable- Overrides:
asLazyin classAbstractSynchronizedBooleanCollection
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableBooleanCollection- Specified by:
asUnmodifiablein interfaceMutableBooleanSet- Overrides:
asUnmodifiablein classAbstractSynchronizedBooleanCollection
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableBooleanCollection- Specified by:
asSynchronizedin interfaceMutableBooleanSet- Overrides:
asSynchronizedin classAbstractSynchronizedBooleanCollection
-
freeze
- Specified by:
freezein interfaceBooleanSet- Specified by:
freezein interfaceMutableBooleanSet
-
toImmutable
- Specified by:
toImmutablein interfaceBooleanSet- Specified by:
toImmutablein interfaceMutableBooleanCollection- Specified by:
toImmutablein interfaceMutableBooleanSet- Overrides:
toImmutablein classAbstractSynchronizedBooleanCollection
-
newEmpty
- Specified by:
newEmptyin interfaceMutableBooleanCollection- Specified by:
newEmptyin interfaceMutableBooleanSet- Since:
- 9.2.
-