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

public Interface MutableDoubleSetFactory

Imports
org.eclipse.collections.api.DoubleIterable, org.eclipse.collections.api.set.primitive.MutableDoubleSet, java.util.stream.DoubleStream

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

Method Summary

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

Same as empty().

public MutableDoubleSet
of(double... items)

Same as with(double[]).

public MutableDoubleSet
public MutableDoubleSet
public MutableDoubleSet
public MutableDoubleSet
with()

Same as empty().

public MutableDoubleSet
with(double... items)

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

public MutableDoubleSet
public default MutableDoubleSet
withInitialCapacity(int capacity)

Same as empty().

Method Detail

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

Same as empty().

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

Same as with(double[]).

ofAllback to summary
public MutableDoubleSet ofAll(DoubleIterable items)

Same as withAll(DoubleIterable).

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

Same as withAll(Iterable).

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

Same as empty().

withback to summary
public MutableDoubleSet with(double... items)
withAllback to summary
public MutableDoubleSet withAll(DoubleIterable items)
withAllback to summary
public MutableDoubleSet withAll(Iterable<Double> iterable)
withAllback to summary
public MutableDoubleSet withAll(DoubleStream items)
Since
9.0
withInitialCapacityback to summary
public default MutableDoubleSet withInitialCapacity(int capacity)

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

Since
10.3