@ThreadSafe public final class SynchronizedBooleanSet extends AbstractSynchronizedBooleanCollection implements org.eclipse.collections.api.set.primitive.MutableBooleanSet
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.
MutableBooleanSet.asSynchronized(),
MutableSet.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
org.eclipse.collections.api.LazyBooleanIterable |
asLazy() |
org.eclipse.collections.api.set.primitive.MutableBooleanSet |
asSynchronized() |
org.eclipse.collections.api.set.primitive.MutableBooleanSet |
asUnmodifiable() |
<V> org.eclipse.collections.api.set.MutableSet<V> |
collect(org.eclipse.collections.api.block.function.primitive.BooleanToObjectFunction<? extends V> function) |
boolean |
equals(Object otherSet) |
org.eclipse.collections.api.set.primitive.BooleanSet |
freeze() |
int |
hashCode() |
static SynchronizedBooleanSet |
of(org.eclipse.collections.api.set.primitive.MutableBooleanSet set)
This method will take a MutableBooleanSet and wrap it directly in a SynchronizedBooleanSet.
|
static SynchronizedBooleanSet |
of(org.eclipse.collections.api.set.primitive.MutableBooleanSet set,
Object lock)
This method will take a MutableBooleanSet and wrap it directly in a SynchronizedBooleanSet.
|
org.eclipse.collections.api.set.primitive.MutableBooleanSet |
reject(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
org.eclipse.collections.api.set.primitive.MutableBooleanSet |
select(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
org.eclipse.collections.api.set.primitive.ImmutableBooleanSet |
toImmutable() |
SynchronizedBooleanSet |
with(boolean element) |
SynchronizedBooleanSet |
withAll(org.eclipse.collections.api.BooleanIterable elements) |
SynchronizedBooleanSet |
without(boolean element) |
SynchronizedBooleanSet |
withoutAll(org.eclipse.collections.api.BooleanIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, 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 static SynchronizedBooleanSet of(org.eclipse.collections.api.set.primitive.MutableBooleanSet set)
public static SynchronizedBooleanSet of(org.eclipse.collections.api.set.primitive.MutableBooleanSet set, Object lock)
public SynchronizedBooleanSet without(boolean element)
without in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionwithout in interface org.eclipse.collections.api.set.primitive.MutableBooleanSetwithout in class AbstractSynchronizedBooleanCollectionpublic SynchronizedBooleanSet with(boolean element)
with in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionwith in interface org.eclipse.collections.api.set.primitive.MutableBooleanSetwith in class AbstractSynchronizedBooleanCollectionpublic SynchronizedBooleanSet withAll(org.eclipse.collections.api.BooleanIterable elements)
withAll in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionwithAll in interface org.eclipse.collections.api.set.primitive.MutableBooleanSetwithAll in class AbstractSynchronizedBooleanCollectionpublic SynchronizedBooleanSet withoutAll(org.eclipse.collections.api.BooleanIterable elements)
withoutAll in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionwithoutAll in interface org.eclipse.collections.api.set.primitive.MutableBooleanSetwithoutAll in class AbstractSynchronizedBooleanCollectionpublic org.eclipse.collections.api.set.primitive.MutableBooleanSet select(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
select in interface org.eclipse.collections.api.BooleanIterableselect in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionselect in interface org.eclipse.collections.api.set.primitive.BooleanSetselect in interface org.eclipse.collections.api.set.primitive.MutableBooleanSetselect in class AbstractSynchronizedBooleanCollectionpublic org.eclipse.collections.api.set.primitive.MutableBooleanSet reject(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
reject in interface org.eclipse.collections.api.BooleanIterablereject in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionreject in interface org.eclipse.collections.api.set.primitive.BooleanSetreject in interface org.eclipse.collections.api.set.primitive.MutableBooleanSetreject in class AbstractSynchronizedBooleanCollectionpublic <V> org.eclipse.collections.api.set.MutableSet<V> collect(org.eclipse.collections.api.block.function.primitive.BooleanToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.BooleanIterablecollect in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectioncollect in interface org.eclipse.collections.api.set.primitive.BooleanSetcollect in interface org.eclipse.collections.api.set.primitive.MutableBooleanSetcollect in class AbstractSynchronizedBooleanCollectionpublic boolean equals(Object otherSet)
public int hashCode()
public org.eclipse.collections.api.LazyBooleanIterable asLazy()
asLazy in interface org.eclipse.collections.api.BooleanIterableasLazy in class AbstractSynchronizedBooleanCollectionpublic org.eclipse.collections.api.set.primitive.MutableBooleanSet asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionasUnmodifiable in interface org.eclipse.collections.api.set.primitive.MutableBooleanSetasUnmodifiable in class AbstractSynchronizedBooleanCollectionpublic org.eclipse.collections.api.set.primitive.MutableBooleanSet asSynchronized()
asSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionasSynchronized in interface org.eclipse.collections.api.set.primitive.MutableBooleanSetasSynchronized in class AbstractSynchronizedBooleanCollectionpublic org.eclipse.collections.api.set.primitive.BooleanSet freeze()
freeze in interface org.eclipse.collections.api.set.primitive.BooleanSetfreeze in interface org.eclipse.collections.api.set.primitive.MutableBooleanSetpublic org.eclipse.collections.api.set.primitive.ImmutableBooleanSet toImmutable()
toImmutable in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectiontoImmutable in interface org.eclipse.collections.api.set.primitive.BooleanSettoImmutable in interface org.eclipse.collections.api.set.primitive.MutableBooleanSettoImmutable in class AbstractSynchronizedBooleanCollectionCopyright © 2004–2017. All rights reserved.