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

public Class SynchronizedByteCollection

extends AbstractSynchronizedByteCollection
Class Inheritance
Imports
org.eclipse.collections.api.collection.primitive.MutableByteCollection, org.eclipse.collections.impl.bag.mutable.primitive.ByteHashBag

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

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

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

public static SynchronizedByteCollection
of(MutableByteCollection collection)

This method will take a MutableByteCollection and wrap it directly in a SynchronizedByteCollection.

public static SynchronizedByteCollection
of(MutableByteCollection collection, Object lock)

This method will take a MutableByteCollection and wrap it directly in a SynchronizedByteCollection.

Inherited from org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedByteCollection:
addaddAlladdAllallSatisfyanySatisfyappendStringappendStringappendStringasLazyasSynchronizedasUnmodifiableaveragebyteIteratorchunkclearcollectcontainscontainsAllcontainsAllcontainsAnycontainsAnycontainsNonecontainsNonecountdetectIfNoneeachgetByteCollectiongetLockinjectIntoisEmptymakeStringmakeStringmakeStringmaxmaxIfEmptymedianminminIfEmptynoneSatisfynotEmptyreducereduceIfEmptyrejectremoveremoveAllremoveAllremoveIfretainAllretainAllselectsizesumtoArraytoArraytoBagtoImmutabletoListtoSettoSortedArraytoSortedListtoStringwithwithAllwithoutwithoutAll

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

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

Constructor Detail

SynchronizedByteCollectionback to summary
protected SynchronizedByteCollection(MutableByteCollection collection)
SynchronizedByteCollectionback to summary
protected SynchronizedByteCollection(MutableByteCollection collection, Object newLock)

Method Detail

newEmptyback to summary
public MutableByteCollection newEmpty()

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

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

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

Annotations
@Override
Since
9.2.
ofback to summary
public static SynchronizedByteCollection of(MutableByteCollection collection)

This method will take a MutableByteCollection and wrap it directly in a SynchronizedByteCollection.

ofback to summary
public static SynchronizedByteCollection of(MutableByteCollection collection, Object lock)

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