Uses of Interface
org.eclipse.collections.api.map.primitive.MutableShortDoubleMap
Packages that use MutableShortDoubleMap
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 MutableShortDoubleMap in org.eclipse.collections.api.factory.map.primitive
Methods in org.eclipse.collections.api.factory.map.primitive that return MutableShortDoubleMapModifier and TypeMethodDescriptionMutableShortDoubleMapFactory.empty()MutableShortDoubleMapFactory.from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction) Creates anMutableShortDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableShortDoubleMapFactory.of()Same asMutableShortDoubleMapFactory.empty().default MutableShortDoubleMapMutableShortDoubleMapFactory.of(short key, double value) default MutableShortDoubleMapMutableShortDoubleMapFactory.of(short key1, double value1, short key2, double value2) default MutableShortDoubleMapMutableShortDoubleMapFactory.of(short key1, double value1, short key2, double value2, short key3, double value3) default MutableShortDoubleMapMutableShortDoubleMapFactory.of(short key1, double value1, short key2, double value2, short key3, double value3, short key4, double value4) MutableShortDoubleMapFactory.ofAll(ShortDoubleMap map) MutableShortDoubleMapFactory.ofInitialCapacity(int capacity) Same asMutableShortDoubleMapFactory.empty(). but takes in an initial capacityMutableShortDoubleMapFactory.with()Same asMutableShortDoubleMapFactory.empty().default MutableShortDoubleMapMutableShortDoubleMapFactory.with(short key, double value) default MutableShortDoubleMapMutableShortDoubleMapFactory.with(short key1, double value1, short key2, double value2) default MutableShortDoubleMapMutableShortDoubleMapFactory.with(short key1, double value1, short key2, double value2, short key3, double value3) default MutableShortDoubleMapMutableShortDoubleMapFactory.with(short key1, double value1, short key2, double value2, short key3, double value3, short key4, double value4) MutableShortDoubleMapFactory.withAll(ShortDoubleMap map) MutableShortDoubleMapFactory.withInitialCapacity(int capacity) Same asMutableShortDoubleMapFactory.empty(). but takes in an initial capacity -
Uses of MutableShortDoubleMap in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive that return MutableShortDoubleMapModifier and TypeMethodDescriptionMutableShortDoubleMap.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.MutableShortDoubleMap.asUnmodifiable()Returns an unmodifiable view of this map, delegating all read-only operations to this map and throwing anUnsupportedOperationExceptionfor all mutating operations.MutableDoubleShortMap.flipUniqueValues()MutableShortDoubleMap.reject(ShortDoublePredicate predicate) MutableShortDoubleMap.select(ShortDoublePredicate predicate) default MutableShortDoubleMapMutableShortDoubleMap.withAllKeyValues(Iterable<ShortDoublePair> keyValuePairs) Puts all of the key/value mappings from the specified pairs into this map.MutableShortDoubleMap.withKeyValue(short key, double value) Associates a value with the specified key.MutableShortDoubleMap.withoutAllKeys(ShortIterable keys) Removes the mappings associated with all the keys, if they exist, from this map.MutableShortDoubleMap.withoutKey(short key) Removes the mapping associated with the key, if one exists, from this map.