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

public Interface ImmutableDoubleBagFactory

Imports
org.eclipse.collections.api.DoubleIterable, org.eclipse.collections.api.bag.primitive.ImmutableDoubleBag, java.util.stream.DoubleStream

A factory which creates instances of type ImmutableDoubleBag. This file was automatically generated from template file immutablePrimitiveBagFactory.stg.
Since
4.0.

Method Summary

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

Same as empty().

public ImmutableDoubleBag
of(double one)

Same as with(double).

public ImmutableDoubleBag
of(double... items)

Same as with(double[]).

public ImmutableDoubleBag
public ImmutableDoubleBag
public ImmutableDoubleBag
public ImmutableDoubleBag
with()

Same as empty().

public ImmutableDoubleBag
with(double one)

public ImmutableDoubleBag
with(double... items)

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

public ImmutableDoubleBag

Method Detail

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

Same as empty().

ofback to summary
public ImmutableDoubleBag of(double one)

Same as with(double).

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

Same as with(double[]).

ofAllback to summary
public ImmutableDoubleBag ofAll(DoubleIterable items)

Same as withAll(DoubleIterable).

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

Same as withAll(Iterable).

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

Same as empty().

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