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

public Interface MutableDoubleValuesMap

extends DoubleValuesMap
Known Direct Subinterfaces
org.eclipse.collections.api.map.primitive.MutableFloatDoubleMap, org.eclipse.collections.api.map.primitive.MutableLongDoubleMap, org.eclipse.collections.api.map.primitive.MutableIntDoubleMap, org.eclipse.collections.api.map.primitive.MutableDoubleDoubleMap, org.eclipse.collections.api.map.primitive.MutableCharDoubleMap, org.eclipse.collections.api.map.primitive.MutableByteDoubleMap, org.eclipse.collections.api.map.primitive.MutableShortDoubleMap
Imports
org.eclipse.collections.api.bag.MutableBag, org.eclipse.collections.api.bag.primitive.MutableDoubleBag, org.eclipse.collections.api.block.function.primitive.DoubleToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.DoublePredicate, org.eclipse.collections.api.iterator.MutableDoubleIterator

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(DoubleToObjectFunction<? extends V> function)

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

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

public MutableDoubleIterator
doubleIterator()

Redeclares org.eclipse.collections.api.DoubleIterable.doubleIterator.

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

public MutableDoubleBag
reject(DoublePredicate predicate)

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

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

public MutableDoubleBag
select(DoublePredicate predicate)

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

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

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

Method Detail

clearback to summary
public void clear()

Removes all entries from this map.

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

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

Doc from org.eclipse.collections.api.DoubleIterable.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
doubleIteratorback to summary
public MutableDoubleIterator doubleIterator()

Redeclares org.eclipse.collections.api.DoubleIterable.doubleIterator.

Doc from org.eclipse.collections.api.DoubleIterable.doubleIterator.

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

Annotations
@Override
rejectback to summary
public MutableDoubleBag reject(DoublePredicate predicate)

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

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

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

Annotations
@Override
selectback to summary
public MutableDoubleBag select(DoublePredicate predicate)

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

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

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

Annotations
@Override