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

public Interface MutableFloatSetFactory

Imports
org.eclipse.collections.api.FloatIterable, org.eclipse.collections.api.set.primitive.MutableFloatSet

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

Method Summary

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

Same as empty().

public MutableFloatSet
of(float... items)

Same as with(float[]).

public MutableFloatSet
public MutableFloatSet
public MutableFloatSet
with()

Same as empty().

public MutableFloatSet
with(float... items)

public MutableFloatSet
public MutableFloatSet
withAll(Iterable<Float> iterable)

public default MutableFloatSet
withInitialCapacity(int capacity)

Same as empty().

Method Detail

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

Same as empty().

ofback to summary
public MutableFloatSet of(float... items)

Same as with(float[]).

ofAllback to summary
public MutableFloatSet ofAll(FloatIterable items)

Same as withAll(FloatIterable).

ofAllback to summary
public MutableFloatSet ofAll(Iterable<Float> iterable)

Same as withAll(Iterable).

withback to summary
public MutableFloatSet with()

Same as empty().

withback to summary
public MutableFloatSet with(float... items)
withAllback to summary
public MutableFloatSet withAll(FloatIterable items)
withAllback to summary
public MutableFloatSet withAll(Iterable<Float> iterable)
withInitialCapacityback to summary
public default MutableFloatSet withInitialCapacity(int capacity)

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

Since
10.3