Top Description Methods
org.eclipse.collections.api.factory.list.primitive

public Interface ImmutableDoubleListFactory

Imports
org.eclipse.collections.api.DoubleIterable, org.eclipse.collections.api.list.primitive.ImmutableDoubleList, java.util.stream.DoubleStream

A factory which creates instances of type ImmutableDoubleList. This file was automatically generated from template file immutablePrimitiveListFactory.stg.
Since
3.2.

Method Summary

Modifier and TypeMethod and Description
public ImmutableDoubleList
public ImmutableDoubleList
of()

Same as empty().

public ImmutableDoubleList
of(double one)

Same as with(double).

public ImmutableDoubleList
of(double... items)

Same as with(double[]).

public ImmutableDoubleList
public ImmutableDoubleList
public ImmutableDoubleList
public ImmutableDoubleList
with()

Same as empty().

public ImmutableDoubleList
with(double one)

public ImmutableDoubleList
with(double... items)

public ImmutableDoubleList
public ImmutableDoubleList
withAll(Iterable<Double> iterable)

public ImmutableDoubleList

Method Detail

emptyback to summary
public ImmutableDoubleList empty()
Since
6.0
ofback to summary
public ImmutableDoubleList of()

Same as empty().

ofback to summary
public ImmutableDoubleList of(double one)

Same as with(double).

ofback to summary
public ImmutableDoubleList of(double... items)

Same as with(double[]).

ofAllback to summary
public ImmutableDoubleList ofAll(DoubleIterable items)

Same as withAll(DoubleIterable).

ofAllback to summary
public ImmutableDoubleList ofAll(Iterable<Double> iterable)

Same as withAll(Iterable).

ofAllback to summary
public ImmutableDoubleList ofAll(DoubleStream items)
Since
9.0
withback to summary
public ImmutableDoubleList with()

Same as empty().

withback to summary
public ImmutableDoubleList with(double one)
withback to summary
public ImmutableDoubleList with(double... items)
withAllback to summary
public ImmutableDoubleList withAll(DoubleIterable items)
withAllback to summary
public ImmutableDoubleList withAll(Iterable<Double> iterable)
withAllback to summary
public ImmutableDoubleList withAll(DoubleStream items)
Since
9.0