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

public Class MutableDoubleListFactoryImpl

extends Object
implements MutableDoubleListFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.list.primitive.MutableDoubleListFactory
Annotations
@ServiceProvider:MutableDoubleListFactory
Imports
org.eclipse.collections.api.DoubleIterable, org.eclipse.collections.api.factory.list.primitive.MutableDoubleListFactory, org.eclipse.collections.api.list.primitive.MutableDoubleList, org.eclipse.collections.impl.factory.primitive.DoubleLists, org.eclipse.collections.impl.utility.Iterate, java.util.stream.DoubleStream

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

Field Summary

Modifier and TypeField and Description
public static final MutableDoubleListFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public MutableDoubleList
public MutableDoubleList
public MutableDoubleList
public MutableDoubleList
public MutableDoubleList
public MutableDoubleList
public MutableDoubleList
public MutableDoubleList
with(double... items)

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

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

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

Field Detail

INSTANCEback to summary
public static final MutableDoubleListFactory INSTANCE

Constructor Detail

MutableDoubleListFactoryImplback to summary
public MutableDoubleListFactoryImpl()

Method Detail

emptyback to summary
public MutableDoubleList empty()

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

Annotations
@Override
ofback to summary
public MutableDoubleList of()

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

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

Same as empty().

Annotations
@Override
ofback to summary
public MutableDoubleList of(double... items)

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

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

Same as with(double[]).

Annotations
@Override
ofAllback to summary
public MutableDoubleList ofAll(DoubleIterable items)

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

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

Same as withAll(DoubleIterable).

Annotations
@Override
ofAllback to summary
public MutableDoubleList ofAll(Iterable<Double> iterable)

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

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

Same as withAll(Iterable).

Annotations
@Override
Since
10.0
ofAllback to summary
public MutableDoubleList ofAll(DoubleStream items)

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

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

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

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

Same as empty().

Annotations
@Override
withback to summary
public MutableDoubleList with(double... items)

Implements org.eclipse.collections.api.factory.list.primitive.MutableDoubleListFactory.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 MutableDoubleList withAll(DoubleIterable items)

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

Annotations
@Override
withAllback to summary
public MutableDoubleList withAll(Iterable<Double> iterable)

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

Annotations
@Override
Since
10.0
withAllback to summary
public MutableDoubleList withAll(DoubleStream items)

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

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

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

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

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

Annotations
@Override