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

public Interface MutableIntValuesMap

extends IntValuesMap
Known Direct Subinterfaces
org.eclipse.collections.api.map.primitive.MutableIntIntMap, org.eclipse.collections.api.map.primitive.MutableLongIntMap, org.eclipse.collections.api.map.primitive.MutableShortIntMap, org.eclipse.collections.api.map.primitive.MutableDoubleIntMap, org.eclipse.collections.api.map.primitive.MutableByteIntMap, org.eclipse.collections.api.map.primitive.MutableCharIntMap, org.eclipse.collections.api.map.primitive.MutableFloatIntMap
Imports
org.eclipse.collections.api.bag.MutableBag, org.eclipse.collections.api.bag.primitive.MutableIntBag, org.eclipse.collections.api.block.function.primitive.IntToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.IntPredicate, org.eclipse.collections.api.iterator.MutableIntIterator

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

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

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

public MutableIntIterator
intIterator()

Redeclares org.eclipse.collections.api.IntIterable.intIterator.

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

public MutableIntBag
reject(IntPredicate predicate)

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

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

public MutableIntBag
select(IntPredicate predicate)

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

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

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

Method Detail

clearback to summary
public void clear()

Removes all entries from this map.

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

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

Doc from org.eclipse.collections.api.IntIterable.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
intIteratorback to summary
public MutableIntIterator intIterator()

Redeclares org.eclipse.collections.api.IntIterable.intIterator.

Doc from org.eclipse.collections.api.IntIterable.intIterator.

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

Annotations
@Override
rejectback to summary
public MutableIntBag reject(IntPredicate predicate)

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

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

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

Annotations
@Override
selectback to summary
public MutableIntBag select(IntPredicate predicate)

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

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

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

Annotations
@Override