Uses of Interface
org.eclipse.collections.api.map.primitive.MutableIntDoubleMap
Packages that use MutableIntDoubleMap
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 MutableIntDoubleMap in org.eclipse.collections.api.factory.map.primitive
Methods in org.eclipse.collections.api.factory.map.primitive that return MutableIntDoubleMapModifier and TypeMethodDescriptionMutableIntDoubleMapFactory.empty()MutableIntDoubleMapFactory.from(Iterable<T> iterable, IntFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction) Creates anMutableIntDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableIntDoubleMapFactory.of()Same asMutableIntDoubleMapFactory.empty().default MutableIntDoubleMapMutableIntDoubleMapFactory.of(int key, double value) default MutableIntDoubleMapMutableIntDoubleMapFactory.of(int key1, double value1, int key2, double value2) default MutableIntDoubleMapMutableIntDoubleMapFactory.of(int key1, double value1, int key2, double value2, int key3, double value3) default MutableIntDoubleMapMutableIntDoubleMapFactory.of(int key1, double value1, int key2, double value2, int key3, double value3, int key4, double value4) MutableIntDoubleMapFactory.ofAll(IntDoubleMap map) MutableIntDoubleMapFactory.ofInitialCapacity(int capacity) Same asMutableIntDoubleMapFactory.empty(). but takes in an initial capacityMutableIntDoubleMapFactory.with()Same asMutableIntDoubleMapFactory.empty().default MutableIntDoubleMapMutableIntDoubleMapFactory.with(int key, double value) default MutableIntDoubleMapMutableIntDoubleMapFactory.with(int key1, double value1, int key2, double value2) default MutableIntDoubleMapMutableIntDoubleMapFactory.with(int key1, double value1, int key2, double value2, int key3, double value3) default MutableIntDoubleMapMutableIntDoubleMapFactory.with(int key1, double value1, int key2, double value2, int key3, double value3, int key4, double value4) MutableIntDoubleMapFactory.withAll(IntDoubleMap map) MutableIntDoubleMapFactory.withInitialCapacity(int capacity) Same asMutableIntDoubleMapFactory.empty(). but takes in an initial capacity -
Uses of MutableIntDoubleMap in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive that return MutableIntDoubleMapModifier and TypeMethodDescriptionMutableIntDoubleMap.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.MutableIntDoubleMap.asUnmodifiable()Returns an unmodifiable view of this map, delegating all read-only operations to this map and throwing anUnsupportedOperationExceptionfor all mutating operations.MutableDoubleIntMap.flipUniqueValues()MutableIntDoubleMap.reject(IntDoublePredicate predicate) MutableIntDoubleMap.select(IntDoublePredicate predicate) default MutableIntDoubleMapMutableIntDoubleMap.withAllKeyValues(Iterable<IntDoublePair> keyValuePairs) Puts all of the key/value mappings from the specified pairs into this map.MutableIntDoubleMap.withKeyValue(int key, double value) Associates a value with the specified key.MutableIntDoubleMap.withoutAllKeys(IntIterable keys) Removes the mappings associated with all the keys, if they exist, from this map.MutableIntDoubleMap.withoutKey(int key) Removes the mapping associated with the key, if one exists, from this map.