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

public Interface MutableLongValuesMap

extends LongValuesMap
Known Direct Subinterfaces
org.eclipse.collections.api.map.primitive.MutableShortLongMap, org.eclipse.collections.api.map.primitive.MutableDoubleLongMap, org.eclipse.collections.api.map.primitive.MutableByteLongMap, org.eclipse.collections.api.map.primitive.MutableCharLongMap, org.eclipse.collections.api.map.primitive.MutableFloatLongMap, org.eclipse.collections.api.map.primitive.MutableIntLongMap, org.eclipse.collections.api.map.primitive.MutableLongLongMap
Imports
org.eclipse.collections.api.bag.MutableBag, org.eclipse.collections.api.bag.primitive.MutableLongBag, org.eclipse.collections.api.block.function.primitive.LongToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.LongPredicate, org.eclipse.collections.api.iterator.MutableLongIterator

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

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

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

public MutableLongIterator
longIterator()

Redeclares org.eclipse.collections.api.LongIterable.longIterator.

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

public MutableLongBag
reject(LongPredicate predicate)

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

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

public MutableLongBag
select(LongPredicate predicate)

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

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

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

Method Detail

clearback to summary
public void clear()

Removes all entries from this map.

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

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

Doc from org.eclipse.collections.api.LongIterable.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
longIteratorback to summary
public MutableLongIterator longIterator()

Redeclares org.eclipse.collections.api.LongIterable.longIterator.

Doc from org.eclipse.collections.api.LongIterable.longIterator.

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

Annotations
@Override
rejectback to summary
public MutableLongBag reject(LongPredicate predicate)

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

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

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

Annotations
@Override
selectback to summary
public MutableLongBag select(LongPredicate predicate)

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

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

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

Annotations
@Override