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

public Interface MutableFloatSet

extends MutableFloatCollection, FloatSet
Imports
org.eclipse.collections.api.FloatIterable, org.eclipse.collections.api.block.function.primitive.FloatToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.FloatPredicate, org.eclipse.collections.api.block.procedure.primitive.FloatProcedure, org.eclipse.collections.api.collection.primitive.MutableFloatCollection, org.eclipse.collections.api.set.MutableSet

This file was automatically generated from template file mutablePrimitiveSet.stg.
Since
3.0.

Method Summary

Modifier and TypeMethod and Description
public MutableFloatSet
public MutableFloatSet
public MutableSet<Float>
public <V> MutableSet<V>
collect(FloatToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.collection.primitive.MutableFloatCollection.collect, org.eclipse.collections.api.set.primitive.FloatSet.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection.

public default MutableFloatSet
difference(FloatSet set)

Implements org.eclipse.collections.api.set.primitive.FloatSet.difference.

Returns the set of all members of this that are not members of set.

public FloatSet
freeze()

Redeclares org.eclipse.collections.api.set.primitive.FloatSet.freeze.

Returns a frozen copy of this set.

public default MutableFloatSet
intersect(FloatSet set)

Implements org.eclipse.collections.api.set.primitive.FloatSet.intersect.

Returns the set of all objects that are members of both this and set.

public default MutableFloatSet
newEmpty()

Overrides default org.eclipse.collections.api.collection.primitive.MutableFloatCollection.newEmpty.

Creates a new empty mutable version of the same Set type.

public MutableFloatSet
reject(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.MutableFloatCollection.reject, org.eclipse.collections.api.set.primitive.FloatSet.reject.

Returns a new FloatIterable with all of the elements in the FloatIterable that return false for the specified predicate.

public MutableFloatSet
select(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.MutableFloatCollection.select, org.eclipse.collections.api.set.primitive.FloatSet.select.

Returns a new FloatIterable with all of the elements in the FloatIterable that return true for the specified predicate.

public default MutableFloatSet
symmetricDifference(FloatSet set)

Implements org.eclipse.collections.api.set.primitive.FloatSet.symmetricDifference.

Returns the set of all objects that are a member of exactly one of this and set (elements which are in one of the sets, but not in both).

public default MutableFloatSet
public ImmutableFloatSet
public default MutableFloatSet
public MutableFloatSet
public MutableFloatSet
public MutableFloatSet
public MutableFloatSet
Inherited from org.eclipse.collections.api.collection.primitive.MutableFloatCollection:
addaddAlladdAllclearfloatIteratorremoveremoveAllremoveAllremoveIfretainAllretainAll
Inherited from org.eclipse.collections.api.set.primitive.FloatSet:
cartesianProductequalshashCodeisProperSubsetOfisSubsetOf

Method Detail

asSynchronizedback to summary
public MutableFloatSet asSynchronized()

Redeclares org.eclipse.collections.api.collection.primitive.MutableFloatCollection.asSynchronized.

Annotations
@Override
asUnmodifiableback to summary
public MutableFloatSet asUnmodifiable()

Redeclares org.eclipse.collections.api.collection.primitive.MutableFloatCollection.asUnmodifiable.

Annotations
@Override
boxedback to summary
public MutableSet<Float> boxed()
collectback to summary
public <V> MutableSet<V> collect(FloatToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.collection.primitive.MutableFloatCollection.collect, org.eclipse.collections.api.set.primitive.FloatSet.collect.

Doc from org.eclipse.collections.api.FloatIterable.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.

Annotations
@Override
differenceback to summary
public default MutableFloatSet difference(FloatSet set)

Implements org.eclipse.collections.api.set.primitive.FloatSet.difference.

Returns the set of all members of this that are not members of set. The difference of [1, 2, 3] and [2, 3, 4] is [1].

Annotations
@Override
Since
11.0.
freezeback to summary
public FloatSet freeze()

Redeclares org.eclipse.collections.api.set.primitive.FloatSet.freeze.

Returns a frozen copy of this set. A frozen copy is the same thing as an immutable copy without safe-publish guarantees.

Annotations
@Override
intersectback to summary
public default MutableFloatSet intersect(FloatSet set)

Implements org.eclipse.collections.api.set.primitive.FloatSet.intersect.

Returns the set of all objects that are members of both this and set. The intersection of [1, 2, 3] and [2, 3, 4] is the set [2, 3].

Annotations
@Override
Since
11.0.
newEmptyback to summary
public default MutableFloatSet newEmpty()

Overrides default org.eclipse.collections.api.collection.primitive.MutableFloatCollection.newEmpty.

Creates a new empty mutable version of the same Set type.

Since
9.2.
rejectback to summary
public MutableFloatSet reject(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.MutableFloatCollection.reject, org.eclipse.collections.api.set.primitive.FloatSet.reject.

Doc from org.eclipse.collections.api.FloatIterable.reject.

Returns a new FloatIterable with all of the elements in the FloatIterable that return false for the specified predicate.

Annotations
@Override
selectback to summary
public MutableFloatSet select(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.MutableFloatCollection.select, org.eclipse.collections.api.set.primitive.FloatSet.select.

Doc from org.eclipse.collections.api.FloatIterable.select.

Returns a new FloatIterable with all of the elements in the FloatIterable that return true for the specified predicate.

Annotations
@Override
symmetricDifferenceback to summary
public default MutableFloatSet symmetricDifference(FloatSet set)

Implements org.eclipse.collections.api.set.primitive.FloatSet.symmetricDifference.

Returns the set of all objects that are a member of exactly one of this and set (elements which are in one of the sets, but not in both). For instance, for the sets [1, 2, 3] and [2, 3, 4], the symmetric difference set is [1, 4] . It is the set difference of the union and the intersection.

Annotations
@Override
Since
11.0.
tapback to summary
public default MutableFloatSet tap(FloatProcedure procedure)

Overrides default org.eclipse.collections.api.collection.primitive.MutableFloatCollection.tap, org.eclipse.collections.api.set.primitive.FloatSet.tap.

Annotations
@Override
Since
9.0.
toImmutableback to summary
public ImmutableFloatSet toImmutable()

Redeclares org.eclipse.collections.api.collection.primitive.MutableFloatCollection.toImmutable, org.eclipse.collections.api.set.primitive.FloatSet.toImmutable.

Returns an immutable copy of this set.

Annotations
@Override
unionback to summary
public default MutableFloatSet union(FloatSet set)

Implements org.eclipse.collections.api.set.primitive.FloatSet.union.

Annotations
@Override
Since
11.0.
withback to summary
public MutableFloatSet with(float element)

Redeclares org.eclipse.collections.api.collection.primitive.MutableFloatCollection.with.

Annotations
@Override
withAllback to summary
public MutableFloatSet withAll(FloatIterable elements)

Redeclares org.eclipse.collections.api.collection.primitive.MutableFloatCollection.withAll.

Annotations
@Override
withoutback to summary
public MutableFloatSet without(float element)

Redeclares org.eclipse.collections.api.collection.primitive.MutableFloatCollection.without.

Annotations
@Override
withoutAllback to summary
public MutableFloatSet withoutAll(FloatIterable elements)

Redeclares org.eclipse.collections.api.collection.primitive.MutableFloatCollection.withoutAll.

Annotations
@Override