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

public Class SynchronizedCharCollection

extends AbstractSynchronizedCharCollection
Class Inheritance
Imports
org.eclipse.collections.api.collection.primitive.MutableCharCollection, org.eclipse.collections.impl.bag.mutable.primitive.CharHashBag

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

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

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

public static SynchronizedCharCollection
of(MutableCharCollection collection)

This method will take a MutableCharCollection and wrap it directly in a SynchronizedCharCollection.

public static SynchronizedCharCollection
of(MutableCharCollection collection, Object lock)

This method will take a MutableCharCollection and wrap it directly in a SynchronizedCharCollection.

Inherited from org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedCharCollection:
addaddAlladdAllallSatisfyanySatisfyappendStringappendStringappendStringasLazyasSynchronizedasUnmodifiableaveragecharIteratorchunkclearcollectcontainscontainsAllcontainsAllcontainsAnycontainsAnycontainsNonecontainsNonecountdetectIfNoneeachgetCharCollectiongetLockinjectIntoisEmptymakeStringmakeStringmakeStringmaxmaxIfEmptymedianminminIfEmptynoneSatisfynotEmptyreducereduceIfEmptyrejectremoveremoveAllremoveAllremoveIfretainAllretainAllselectsizesumtoArraytoArraytoBagtoImmutabletoListtoSettoSortedArraytoSortedListtoStringwithwithAllwithoutwithoutAll

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

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

Constructor Detail

SynchronizedCharCollectionback to summary
protected SynchronizedCharCollection(MutableCharCollection collection)
SynchronizedCharCollectionback to summary
protected SynchronizedCharCollection(MutableCharCollection collection, Object newLock)

Method Detail

newEmptyback to summary
public MutableCharCollection newEmpty()

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

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

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

Annotations
@Override
Since
9.2.
ofback to summary
public static SynchronizedCharCollection of(MutableCharCollection collection)

This method will take a MutableCharCollection and wrap it directly in a SynchronizedCharCollection.

ofback to summary
public static SynchronizedCharCollection of(MutableCharCollection collection, Object lock)

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