Class SynchronizedDoubleCollection
java.lang.Object
org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedDoubleCollection
org.eclipse.collections.impl.collection.mutable.primitive.SynchronizedDoubleCollection
- All Implemented Interfaces:
Serializable
,MutableDoubleCollection
,DoubleIterable
,PrimitiveIterable
This file was automatically generated from template file synchronizedPrimitiveCollection.stg.
- Since:
- 4.0.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SynchronizedDoubleCollection
(MutableDoubleCollection collection) protected
SynchronizedDoubleCollection
(MutableDoubleCollection collection, Object newLock) -
Method Summary
Modifier and TypeMethodDescriptionnewEmpty()
Creates a new empty mutable version of the same collection type.static SynchronizedDoubleCollection
of
(MutableDoubleCollection collection) This method will take a MutableDoubleCollection and wrap it directly in a SynchronizedDoubleCollection.static SynchronizedDoubleCollection
of
(MutableDoubleCollection collection, Object lock) This method will take a MutableDoubleCollection and wrap it directly in a SynchronizedDoubleCollection.Methods inherited from class org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedDoubleCollection
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, asSynchronized, asUnmodifiable, average, chunk, clear, collect, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, doubleIterator, each, getDoubleCollection, getLock, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, reduce, reduceIfEmpty, reject, remove, removeAll, removeAll, removeIf, retainAll, retainAll, select, size, sum, toArray, toArray, toBag, toImmutable, toList, toSet, toSortedArray, toSortedList, 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.DoubleIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reject, select, summaryStatistics, toSortedList, toSortedListBy, toSortedListBy
Methods inherited from interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollection
tap
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
SynchronizedDoubleCollection
-
SynchronizedDoubleCollection
-
-
Method Details
-
of
This method will take a MutableDoubleCollection and wrap it directly in a SynchronizedDoubleCollection. -
of
This method will take a MutableDoubleCollection and wrap it directly in a SynchronizedDoubleCollection. Additionally, a developer specifies which lock to use with the collection. -
newEmpty
Description copied from interface:MutableDoubleCollection
Creates a new empty mutable version of the same collection type.- Since:
- 9.2.
-