Uses of Interface
org.eclipse.collections.api.map.primitive.MutableShortObjectMap
Packages that use MutableShortObjectMap
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 MutableShortObjectMap in org.eclipse.collections.api.factory.map.primitive
Methods in org.eclipse.collections.api.factory.map.primitive that return MutableShortObjectMapModifier and TypeMethodDescription<V> MutableShortObjectMap<V>MutableShortObjectMapFactory.empty()<T,V> MutableShortObjectMap<V> MutableShortObjectMapFactory.from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anMutableShortObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<V> MutableShortObjectMap<V>MutableShortObjectMapFactory.of()Same asMutableShortObjectMapFactory.empty().default <V> MutableShortObjectMap<V>MutableShortObjectMapFactory.of(short key, V value) default <V> MutableShortObjectMap<V>MutableShortObjectMapFactory.of(short key1, V value1, short key2, V value2) default <V> MutableShortObjectMap<V>MutableShortObjectMapFactory.of(short key1, V value1, short key2, V value2, short key3, V value3) default <V> MutableShortObjectMap<V>MutableShortObjectMapFactory.of(short key1, V value1, short key2, V value2, short key3, V value3, short key4, V value4) <V> MutableShortObjectMap<V>MutableShortObjectMapFactory.ofAll(ShortObjectMap<? extends V> map) <V> MutableShortObjectMap<V>MutableShortObjectMapFactory.ofInitialCapacity(int capacity) Same asMutableShortObjectMapFactory.empty(). but takes in an initial capacity<V> MutableShortObjectMap<V>MutableShortObjectMapFactory.with()Same asMutableShortObjectMapFactory.empty().default <V> MutableShortObjectMap<V>MutableShortObjectMapFactory.with(short key, V value) default <V> MutableShortObjectMap<V>MutableShortObjectMapFactory.with(short key1, V value1, short key2, V value2) default <V> MutableShortObjectMap<V>MutableShortObjectMapFactory.with(short key1, V value1, short key2, V value2, short key3, V value3) default <V> MutableShortObjectMap<V>MutableShortObjectMapFactory.with(short key1, V value1, short key2, V value2, short key3, V value3, short key4, V value4) <V> MutableShortObjectMap<V>MutableShortObjectMapFactory.withAll(ShortObjectMap<? extends V> map) <V> MutableShortObjectMap<V>MutableShortObjectMapFactory.withInitialCapacity(int capacity) Same asMutableShortObjectMapFactory.empty(). but takes in an initial capacity -
Uses of MutableShortObjectMap in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive that return MutableShortObjectMapModifier and TypeMethodDescriptionMutableShortObjectMap.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.MutableShortObjectMap.asUnmodifiable()Returns an unmodifiable view of this map, delegating all read-only operations to this map and throwing anUnsupportedOperationExceptionfor all mutating operations.MutableObjectShortMap.flipUniqueValues()MutableShortObjectMap.reject(ShortObjectPredicate<? super V> predicate) MutableShortObjectMap.select(ShortObjectPredicate<? super V> predicate) default MutableShortObjectMap<V>MutableShortObjectMap.withAllKeyValues(Iterable<ShortObjectPair<V>> keyValuePairs) Puts all of the key/value mappings from the specified pairs into this map.MutableShortObjectMap.withKeyValue(short key, V value) Associates a value with the specified key.MutableShortObjectMap.withoutAllKeys(ShortIterable keys) Removes the mappings associated with all the keys, if they exist, from this map.MutableShortObjectMap.withoutKey(short key) Removes the mapping associated with the key, if one exists, from this map.