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

public Class MutableIntListFactoryImpl

extends Object
implements MutableIntListFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.list.primitive.MutableIntListFactory
Annotations
@ServiceProvider:MutableIntListFactory
Imports
org.eclipse.collections.api.IntIterable, org.eclipse.collections.api.factory.list.primitive.MutableIntListFactory, org.eclipse.collections.api.list.primitive.MutableIntList, org.eclipse.collections.impl.factory.primitive.IntLists, org.eclipse.collections.impl.utility.Iterate, java.util.stream.IntStream

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

Field Summary

Modifier and TypeField and Description
public static final MutableIntListFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public MutableIntList
public MutableIntList
public MutableIntList
public MutableIntList
public MutableIntList
public MutableIntList
public MutableIntList
public MutableIntList
with(int... items)

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

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

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

Field Detail

INSTANCEback to summary
public static final MutableIntListFactory INSTANCE

Constructor Detail

MutableIntListFactoryImplback to summary
public MutableIntListFactoryImpl()

Method Detail

emptyback to summary
public MutableIntList empty()

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

Annotations
@Override
ofback to summary
public MutableIntList of()

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

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

Same as empty().

Annotations
@Override
ofback to summary
public MutableIntList of(int... items)

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

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

Same as with(int[]).

Annotations
@Override
ofAllback to summary
public MutableIntList ofAll(IntIterable items)

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

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

Same as withAll(IntIterable).

Annotations
@Override
ofAllback to summary
public MutableIntList ofAll(Iterable<Integer> iterable)

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

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

Same as withAll(Iterable).

Annotations
@Override
Since
10.0
ofAllback to summary
public MutableIntList ofAll(IntStream items)

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

Annotations
@Override
Since
9.0
withback to summary
public MutableIntList with()

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

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

Same as empty().

Annotations
@Override
withback to summary
public MutableIntList with(int... items)

Implements org.eclipse.collections.api.factory.list.primitive.MutableIntListFactory.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 MutableIntList withAll(IntIterable items)

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

Annotations
@Override
withAllback to summary
public MutableIntList withAll(Iterable<Integer> iterable)

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

Annotations
@Override
Since
10.0
withAllback to summary
public MutableIntList withAll(IntStream items)

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

Annotations
@Override
Since
9.0
withInitialCapacityback to summary
public MutableIntList withInitialCapacity(int capacity)

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

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

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

Annotations
@Override