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

public Class SynchronizedDoubleCollection

extends AbstractSynchronizedDoubleCollection
Class Inheritance
Imports
org.eclipse.collections.api.collection.primitive.MutableDoubleCollection, org.eclipse.collections.impl.bag.mutable.primitive.DoubleHashBag

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 MutableDoubleCollection
newEmpty()

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

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

public static SynchronizedDoubleCollection
of(MutableDoubleCollection collection)

This method will take a MutableDoubleCollection and wrap it directly in a SynchronizedDoubleCollection.

public static SynchronizedDoubleCollection
of(MutableDoubleCollection collection, Object lock)

This method will take a MutableDoubleCollection and wrap it directly in a SynchronizedDoubleCollection.

Inherited from org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedDoubleCollection:
addaddAlladdAllallSatisfyanySatisfyappendStringappendStringappendStringasLazyasSynchronizedasUnmodifiableaveragechunkclearcollectcontainscontainsAllcontainsAllcontainsAnycontainsAnycontainsNonecontainsNonecountdetectIfNonedoubleIteratoreachgetDoubleCollectiongetLockinjectIntoisEmptymakeStringmakeStringmakeStringmaxmaxIfEmptymedianminminIfEmptynoneSatisfynotEmptyreducereduceIfEmptyrejectremoveremoveAllremoveAllremoveIfretainAllretainAllselectsizesumtoArraytoArraytoBagtoImmutabletoListtoSettoSortedArraytoSortedListtoStringwithwithAllwithoutwithoutAll

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

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

Constructor Detail

SynchronizedDoubleCollectionback to summary
protected SynchronizedDoubleCollection(MutableDoubleCollection collection)
SynchronizedDoubleCollectionback to summary
protected SynchronizedDoubleCollection(MutableDoubleCollection collection, Object newLock)

Method Detail

newEmptyback to summary
public MutableDoubleCollection newEmpty()

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

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

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

Annotations
@Override
Since
9.2.
ofback to summary
public static SynchronizedDoubleCollection of(MutableDoubleCollection collection)

This method will take a MutableDoubleCollection and wrap it directly in a SynchronizedDoubleCollection.

ofback to summary
public static SynchronizedDoubleCollection of(MutableDoubleCollection collection, Object lock)

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