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

public Class MutableLongListFactoryImpl

extends Object
implements MutableLongListFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.list.primitive.MutableLongListFactory
Annotations
@ServiceProvider:MutableLongListFactory
Imports
org.eclipse.collections.api.LongIterable, org.eclipse.collections.api.factory.list.primitive.MutableLongListFactory, org.eclipse.collections.api.list.primitive.MutableLongList, org.eclipse.collections.impl.factory.primitive.LongLists, org.eclipse.collections.impl.utility.Iterate, java.util.stream.LongStream

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

Field Summary

Modifier and TypeField and Description
public static final MutableLongListFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public MutableLongList
public MutableLongList
public MutableLongList
public MutableLongList
public MutableLongList
public MutableLongList
public MutableLongList
public MutableLongList
with(long... items)

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

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

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

Field Detail

INSTANCEback to summary
public static final MutableLongListFactory INSTANCE

Constructor Detail

MutableLongListFactoryImplback to summary
public MutableLongListFactoryImpl()

Method Detail

emptyback to summary
public MutableLongList empty()

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

Annotations
@Override
ofback to summary
public MutableLongList of()

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

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

Same as empty().

Annotations
@Override
ofback to summary
public MutableLongList of(long... items)

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

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

Same as with(long[]).

Annotations
@Override
ofAllback to summary
public MutableLongList ofAll(LongIterable items)

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

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

Same as withAll(LongIterable).

Annotations
@Override
ofAllback to summary
public MutableLongList ofAll(Iterable<Long> iterable)

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

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

Same as withAll(Iterable).

Annotations
@Override
Since
10.0
ofAllback to summary
public MutableLongList ofAll(LongStream items)

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

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

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

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

Same as empty().

Annotations
@Override
withback to summary
public MutableLongList with(long... items)

Implements org.eclipse.collections.api.factory.list.primitive.MutableLongListFactory.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 MutableLongList withAll(LongIterable items)

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

Annotations
@Override
withAllback to summary
public MutableLongList withAll(Iterable<Long> iterable)

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

Annotations
@Override
Since
10.0
withAllback to summary
public MutableLongList withAll(LongStream items)

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

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

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

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

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

Annotations
@Override