Top Description Fields Constructors Methods
org.eclipse.collections.impl.collection.mutable.primitive

public Class SynchronizedBooleanCollection

extends AbstractSynchronizedBooleanCollection
Class Inheritance
Imports
org.eclipse.collections.api.collection.primitive.MutableBooleanCollection, org.eclipse.collections.impl.bag.mutable.primitive.BooleanHashBag

This file was automatically generated from template file synchronizedPrimitiveCollection.stg.
Since
4.0.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
protected
protected

Method Summary

Modifier and TypeMethod and Description
public MutableBooleanCollection
newEmpty()

Overrides default org.eclipse.collections.api.collection.primitive.MutableBooleanCollection.newEmpty.

Creates a new empty mutable version of the same collection type.

public static SynchronizedBooleanCollection
of(MutableBooleanCollection collection)

This method will take a MutableBooleanCollection and wrap it directly in a SynchronizedBooleanCollection.

public static SynchronizedBooleanCollection
of(MutableBooleanCollection collection, Object lock)

This method will take a MutableBooleanCollection and wrap it directly in a SynchronizedBooleanCollection.

Inherited from org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedBooleanCollection:
addaddAlladdAllallSatisfyanySatisfyappendStringappendStringappendStringasLazyasSynchronizedasUnmodifiablebooleanIteratorchunkclearcollectcontainscontainsAllcontainsAllcontainsAnycontainsAnycontainsNonecontainsNonecountdetectIfNoneeachgetBooleanCollectiongetLockinjectIntoisEmptymakeStringmakeStringmakeStringnoneSatisfynotEmptyreducereduceIfEmptyrejectremoveremoveAllremoveAllremoveIfretainAllretainAllselectsizetoArraytoArraytoBagtoImmutabletoListtoSettoStringwithwithAllwithoutwithoutAll

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedBooleanCollection.serialVersionUID.

Constructor Detail

SynchronizedBooleanCollectionback to summary
protected SynchronizedBooleanCollection(MutableBooleanCollection collection)
SynchronizedBooleanCollectionback to summary
protected SynchronizedBooleanCollection(MutableBooleanCollection collection, Object newLock)

Method Detail

newEmptyback to summary
public MutableBooleanCollection newEmpty()

Overrides default org.eclipse.collections.api.collection.primitive.MutableBooleanCollection.newEmpty.

Doc from org.eclipse.collections.api.collection.primitive.MutableBooleanCollection.newEmpty.

Creates a new empty mutable version of the same collection type.

Annotations
@Override
Since
9.2.
ofback to summary
public static SynchronizedBooleanCollection of(MutableBooleanCollection collection)

This method will take a MutableBooleanCollection and wrap it directly in a SynchronizedBooleanCollection.

ofback to summary
public static SynchronizedBooleanCollection of(MutableBooleanCollection collection, Object lock)

This method will take a MutableBooleanCollection and wrap it directly in a SynchronizedBooleanCollection. Additionally, a developer specifies which lock to use with the collection.