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

public Interface MutableFloatValuesMap

extends FloatValuesMap
Known Direct Subinterfaces
org.eclipse.collections.api.map.primitive.MutableIntFloatMap, org.eclipse.collections.api.map.primitive.MutableShortFloatMap, org.eclipse.collections.api.map.primitive.MutableDoubleFloatMap, org.eclipse.collections.api.map.primitive.MutableByteFloatMap, org.eclipse.collections.api.map.primitive.MutableCharFloatMap, org.eclipse.collections.api.map.primitive.MutableFloatFloatMap, org.eclipse.collections.api.map.primitive.MutableLongFloatMap
Imports
org.eclipse.collections.api.bag.MutableBag, org.eclipse.collections.api.bag.primitive.MutableFloatBag, org.eclipse.collections.api.block.function.primitive.FloatToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.FloatPredicate, org.eclipse.collections.api.iterator.MutableFloatIterator

This file was automatically generated from template file mutablePrimitiveValuesMap.stg.
Since
6.0.

Method Summary

Modifier and TypeMethod and Description
public void
clear()

Removes all entries from this map.

public <V> MutableBag<V>
collect(FloatToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.map.primitive.FloatValuesMap.collect.

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

public MutableFloatIterator
floatIterator()

Redeclares org.eclipse.collections.api.FloatIterable.floatIterator.

Returns a primitive iterator that can be used to iterate over the FloatIterable in an imperative style.

public MutableFloatBag
reject(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.map.primitive.FloatValuesMap.reject.

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

public MutableFloatBag
select(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.map.primitive.FloatValuesMap.select.

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

Inherited from org.eclipse.collections.api.map.primitive.FloatValuesMap:
containsValueforEachValuetapvalues

Method Detail

clearback to summary
public void clear()

Removes all entries from this map.

collectback to summary
public <V> MutableBag<V> collect(FloatToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.map.primitive.FloatValuesMap.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
floatIteratorback to summary
public MutableFloatIterator floatIterator()

Redeclares org.eclipse.collections.api.FloatIterable.floatIterator.

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

Returns a primitive iterator that can be used to iterate over the FloatIterable in an imperative style.

Annotations
@Override
rejectback to summary
public MutableFloatBag reject(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.map.primitive.FloatValuesMap.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 MutableFloatBag select(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.map.primitive.FloatValuesMap.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