Uses of Interface
org.eclipse.collections.api.map.primitive.MutableShortIntMap
Packages that use MutableShortIntMap
Package
Description
This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
-
Uses of MutableShortIntMap in org.eclipse.collections.api.factory.map.primitive
Methods in org.eclipse.collections.api.factory.map.primitive that return MutableShortIntMapModifier and TypeMethodDescriptionMutableShortIntMapFactory.empty()MutableShortIntMapFactory.from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anMutableShortIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableShortIntMapFactory.of()Same asMutableShortIntMapFactory.empty().default MutableShortIntMapMutableShortIntMapFactory.of(short key, int value) default MutableShortIntMapMutableShortIntMapFactory.of(short key1, int value1, short key2, int value2) default MutableShortIntMapMutableShortIntMapFactory.of(short key1, int value1, short key2, int value2, short key3, int value3) default MutableShortIntMapMutableShortIntMapFactory.of(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4) MutableShortIntMapFactory.ofAll(ShortIntMap map) MutableShortIntMapFactory.ofInitialCapacity(int capacity) Same asMutableShortIntMapFactory.empty(). but takes in an initial capacityMutableShortIntMapFactory.with()Same asMutableShortIntMapFactory.empty().default MutableShortIntMapMutableShortIntMapFactory.with(short key, int value) default MutableShortIntMapMutableShortIntMapFactory.with(short key1, int value1, short key2, int value2) default MutableShortIntMapMutableShortIntMapFactory.with(short key1, int value1, short key2, int value2, short key3, int value3) default MutableShortIntMapMutableShortIntMapFactory.with(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4) MutableShortIntMapFactory.withAll(ShortIntMap map) MutableShortIntMapFactory.withInitialCapacity(int capacity) Same asMutableShortIntMapFactory.empty(). but takes in an initial capacity -
Uses of MutableShortIntMap in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive that return MutableShortIntMapModifier and TypeMethodDescriptionMutableShortIntMap.asSynchronized()Returns a synchronized view of this map, delegating all operations to this map but ensuring only one caller has access to the map at a time.MutableShortIntMap.asUnmodifiable()Returns an unmodifiable view of this map, delegating all read-only operations to this map and throwing anUnsupportedOperationExceptionfor all mutating operations.MutableIntShortMap.flipUniqueValues()MutableShortIntMap.reject(ShortIntPredicate predicate) MutableShortIntMap.select(ShortIntPredicate predicate) default MutableShortIntMapMutableShortIntMap.withAllKeyValues(Iterable<ShortIntPair> keyValuePairs) Puts all of the key/value mappings from the specified pairs into this map.MutableShortIntMap.withKeyValue(short key, int value) Associates a value with the specified key.MutableShortIntMap.withoutAllKeys(ShortIterable keys) Removes the mappings associated with all the keys, if they exist, from this map.MutableShortIntMap.withoutKey(short key) Removes the mapping associated with the key, if one exists, from this map.