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

public Class MutableShortListFactoryImpl

extends Object
implements MutableShortListFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory
Annotations
@ServiceProvider:MutableShortListFactory
Imports
org.eclipse.collections.api.ShortIterable, org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory, org.eclipse.collections.api.list.primitive.MutableShortList, org.eclipse.collections.impl.factory.primitive.ShortLists, org.eclipse.collections.impl.utility.Iterate

MutableShortListFactoryImpl is a factory implementation which creates instances of type MutableShortList. This file was automatically generated from template file mutablePrimitiveListFactoryImpl.stg.
Since
6.0.

Field Summary

Modifier and TypeField and Description
public static final MutableShortListFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public MutableShortList
public MutableShortList
public MutableShortList
public MutableShortList
public MutableShortList
public MutableShortList
public MutableShortList
with(short... items)

Implements org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory.with.

Creates a new list using the passed items argument as the backing store.

public MutableShortList
public MutableShortList
public MutableShortList
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final MutableShortListFactory INSTANCE

Constructor Detail

MutableShortListFactoryImplback to summary
public MutableShortListFactoryImpl()

Method Detail

emptyback to summary
public MutableShortList empty()

Implements org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory.empty.

Annotations
@Override
ofback to summary
public MutableShortList of()

Implements org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory.of.

Doc from org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory.of.

Same as empty().

Annotations
@Override
ofback to summary
public MutableShortList of(short... items)

Implements org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory.of.

Doc from org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory.of.

Same as with(short[]).

Annotations
@Override
ofAllback to summary
public MutableShortList ofAll(ShortIterable items)

Implements org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory.ofAll.

Doc from org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory.ofAll.

Same as withAll(ShortIterable).

Annotations
@Override
ofAllback to summary
public MutableShortList ofAll(Iterable<Short> iterable)

Implements org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory.ofAll.

Doc from org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory.ofAll.

Same as withAll(Iterable).

Annotations
@Override
Since
10.0
withback to summary
public MutableShortList with()

Implements org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory.with.

Doc from org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory.with.

Same as empty().

Annotations
@Override
withback to summary
public MutableShortList with(short... items)

Implements org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory.with.

Creates a new list using the passed items argument as the backing store.

!!! WARNING: This method uses the passed in array, so can be very unsafe if the original array is held onto anywhere else.

Annotations
@Override
withAllback to summary
public MutableShortList withAll(ShortIterable items)

Implements org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory.withAll.

Annotations
@Override
withAllback to summary
public MutableShortList withAll(Iterable<Short> iterable)

Implements org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory.withAll.

Annotations
@Override
Since
10.0
withInitialCapacityback to summary
public MutableShortList withInitialCapacity(int capacity)

Overrides default org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory.withInitialCapacity.

Doc from org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory.withInitialCapacity.

Same as empty(). but takes in an initial capacity

Annotations
@Override