Class SynchronizedBooleanCollection
- java.lang.Object
-
- org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedBooleanCollection
-
- org.eclipse.collections.impl.collection.mutable.primitive.SynchronizedBooleanCollection
-
- All Implemented Interfaces:
java.io.Serializable
,BooleanIterable
,MutableBooleanCollection
,PrimitiveIterable
public class SynchronizedBooleanCollection extends AbstractSynchronizedBooleanCollection
This file was automatically generated from template file synchronizedPrimitiveCollection.stg.- Since:
- 4.0.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description protected
SynchronizedBooleanCollection(MutableBooleanCollection collection)
protected
SynchronizedBooleanCollection(MutableBooleanCollection collection, java.lang.Object newLock)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableBooleanCollection
newEmpty()
Creates a new empty mutable version of the same collection type.static SynchronizedBooleanCollection
of(MutableBooleanCollection collection)
This method will take a MutableBooleanCollection and wrap it directly in a SynchronizedBooleanCollection.static SynchronizedBooleanCollection
of(MutableBooleanCollection collection, java.lang.Object lock)
This method will take a MutableBooleanCollection and wrap it directly in a SynchronizedBooleanCollection.-
Methods inherited from class org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedBooleanCollection
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, asSynchronized, asUnmodifiable, booleanIterator, chunk, clear, collect, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, getBooleanCollection, getLock, injectInto, isEmpty, makeString, makeString, makeString, noneSatisfy, notEmpty, reduce, reduceIfEmpty, reject, remove, removeAll, removeAll, removeIf, retainAll, retainAll, select, size, toArray, toArray, toBag, toImmutable, toList, toSet, toString, with, withAll, without, withoutAll
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.BooleanIterable
collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, reject, select
-
Methods inherited from interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollection
tap
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SynchronizedBooleanCollection
protected SynchronizedBooleanCollection(MutableBooleanCollection collection)
-
SynchronizedBooleanCollection
protected SynchronizedBooleanCollection(MutableBooleanCollection collection, java.lang.Object newLock)
-
-
Method Detail
-
of
public static SynchronizedBooleanCollection of(MutableBooleanCollection collection)
This method will take a MutableBooleanCollection and wrap it directly in a SynchronizedBooleanCollection.
-
of
public static SynchronizedBooleanCollection of(MutableBooleanCollection collection, java.lang.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.
-
newEmpty
public MutableBooleanCollection newEmpty()
Description copied from interface:MutableBooleanCollection
Creates a new empty mutable version of the same collection type.- Since:
- 9.2.
-
-