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

public Interface MutableDoubleBagFactory

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

A factory which creates instances of type MutableDoubleBag. This file was automatically generated from template file mutablePrimitiveBagFactory.stg.
Since
6.0.

Method Summary

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

Same as empty().

public MutableDoubleBag
of(double... items)

Same as with(double[]).

public MutableDoubleBag
public MutableDoubleBag
public MutableDoubleBag
public MutableDoubleBag
with()

Same as empty().

public MutableDoubleBag
with(double... items)

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

public MutableDoubleBag

Method Detail

emptyback to summary
public MutableDoubleBag empty()
ofback to summary
public MutableDoubleBag of()

Same as empty().

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

Same as with(double[]).

ofAllback to summary
public MutableDoubleBag ofAll(DoubleIterable items)

Same as withAll(DoubleIterable).

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

Same as withAll(Iterable).

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

Same as empty().

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