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

public Class UnmodifiableShortCollection

extends AbstractUnmodifiableShortCollection
Class Inheritance
Imports
org.eclipse.collections.api.collection.primitive.MutableShortCollection, org.eclipse.collections.impl.bag.mutable.primitive.ShortHashBag

This file was automatically generated from template file unmodifiablePrimitiveCollection.stg.
Since
4.0.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public MutableShortCollection
newEmpty()

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

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

public static UnmodifiableShortCollection
of(MutableShortCollection collection)

This method will take a MutableShortCollection and wrap it directly in a UnmodifiableShortCollection.

Inherited from org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableShortCollection:
addaddAlladdAllallSatisfyanySatisfyappendStringappendStringappendStringasLazyasSynchronizedasUnmodifiableaveragechunkclearcollectcontainscontainsAllcontainsAllcontainsAnycontainsAnycontainsNonecontainsNonecountdetectIfNoneeachgetShortCollectioninjectIntoisEmptymakeStringmakeStringmakeStringmaxmaxIfEmptymedianminminIfEmptynoneSatisfynotEmptyreducereduceIfEmptyrejectremoveremoveAllremoveAllremoveIfretainAllretainAllselectshortIteratorsizesumtoArraytoArraytoBagtoImmutabletoListtoSettoSortedArraytoSortedListtoStringwithwithAllwithoutwithoutAll

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

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

Constructor Detail

UnmodifiableShortCollectionback to summary
protected UnmodifiableShortCollection(MutableShortCollection collection)

Method Detail

newEmptyback to summary
public MutableShortCollection newEmpty()

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

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

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

Annotations
@Override
Since
9.2.
ofback to summary
public static UnmodifiableShortCollection of(MutableShortCollection collection)

This method will take a MutableShortCollection and wrap it directly in a UnmodifiableShortCollection.