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

public Interface MutableShortValuesMap

extends ShortValuesMap
Known Direct Subinterfaces
org.eclipse.collections.api.map.primitive.MutableByteShortMap, org.eclipse.collections.api.map.primitive.MutableCharShortMap, org.eclipse.collections.api.map.primitive.MutableDoubleShortMap, org.eclipse.collections.api.map.primitive.MutableIntShortMap, org.eclipse.collections.api.map.primitive.MutableFloatShortMap, org.eclipse.collections.api.map.primitive.MutableLongShortMap, org.eclipse.collections.api.map.primitive.MutableShortShortMap
Imports
org.eclipse.collections.api.bag.MutableBag, org.eclipse.collections.api.bag.primitive.MutableShortBag, org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.ShortPredicate, org.eclipse.collections.api.iterator.MutableShortIterator

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

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

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

public MutableShortBag
reject(ShortPredicate predicate)

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

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

public MutableShortBag
select(ShortPredicate predicate)

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

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

public MutableShortIterator
shortIterator()

Redeclares org.eclipse.collections.api.ShortIterable.shortIterator.

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

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

Method Detail

clearback to summary
public void clear()

Removes all entries from this map.

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

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

Doc from org.eclipse.collections.api.ShortIterable.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
rejectback to summary
public MutableShortBag reject(ShortPredicate predicate)

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

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

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

Annotations
@Override
selectback to summary
public MutableShortBag select(ShortPredicate predicate)

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

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

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

Annotations
@Override
shortIteratorback to summary
public MutableShortIterator shortIterator()

Redeclares org.eclipse.collections.api.ShortIterable.shortIterator.

Doc from org.eclipse.collections.api.ShortIterable.shortIterator.

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

Annotations
@Override