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

public Class SynchronizedFloatCollection

extends AbstractSynchronizedFloatCollection
Class Inheritance
Imports
org.eclipse.collections.api.collection.primitive.MutableFloatCollection, org.eclipse.collections.impl.bag.mutable.primitive.FloatHashBag

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

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

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

public static SynchronizedFloatCollection
of(MutableFloatCollection collection)

This method will take a MutableFloatCollection and wrap it directly in a SynchronizedFloatCollection.

public static SynchronizedFloatCollection
of(MutableFloatCollection collection, Object lock)

This method will take a MutableFloatCollection and wrap it directly in a SynchronizedFloatCollection.

Inherited from org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedFloatCollection:
addaddAlladdAllallSatisfyanySatisfyappendStringappendStringappendStringasLazyasSynchronizedasUnmodifiableaveragechunkclearcollectcontainscontainsAllcontainsAllcontainsAnycontainsAnycontainsNonecontainsNonecountdetectIfNoneeachfloatIteratorgetFloatCollectiongetLockinjectIntoisEmptymakeStringmakeStringmakeStringmaxmaxIfEmptymedianminminIfEmptynoneSatisfynotEmptyreducereduceIfEmptyrejectremoveremoveAllremoveAllremoveIfretainAllretainAllselectsizesumtoArraytoArraytoBagtoImmutabletoListtoSettoSortedArraytoSortedListtoStringwithwithAllwithoutwithoutAll

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

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

Constructor Detail

SynchronizedFloatCollectionback to summary
protected SynchronizedFloatCollection(MutableFloatCollection collection)
SynchronizedFloatCollectionback to summary
protected SynchronizedFloatCollection(MutableFloatCollection collection, Object newLock)

Method Detail

newEmptyback to summary
public MutableFloatCollection newEmpty()

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

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

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

Annotations
@Override
Since
9.2.
ofback to summary
public static SynchronizedFloatCollection of(MutableFloatCollection collection)

This method will take a MutableFloatCollection and wrap it directly in a SynchronizedFloatCollection.

ofback to summary
public static SynchronizedFloatCollection of(MutableFloatCollection collection, Object lock)

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