Uses of Interface
org.eclipse.collections.api.map.primitive.MutableIntIntMap
Packages that use MutableIntIntMap
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 MutableIntIntMap in org.eclipse.collections.api.factory.map.primitive
Methods in org.eclipse.collections.api.factory.map.primitive that return MutableIntIntMapModifier and TypeMethodDescriptionMutableIntIntMapFactory.empty()<T> MutableIntIntMapMutableIntIntMapFactory.from(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anMutableIntIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableIntIntMapFactory.of()Same asMutableIntIntMapFactory.empty().default MutableIntIntMapMutableIntIntMapFactory.of(int key, int value) default MutableIntIntMapMutableIntIntMapFactory.of(int key1, int value1, int key2, int value2) default MutableIntIntMapMutableIntIntMapFactory.of(int key1, int value1, int key2, int value2, int key3, int value3) default MutableIntIntMapMutableIntIntMapFactory.of(int key1, int value1, int key2, int value2, int key3, int value3, int key4, int value4) MutableIntIntMapFactory.ofInitialCapacity(int capacity) Same asMutableIntIntMapFactory.empty(). but takes in an initial capacityMutableIntIntMapFactory.with()Same asMutableIntIntMapFactory.empty().default MutableIntIntMapMutableIntIntMapFactory.with(int key, int value) default MutableIntIntMapMutableIntIntMapFactory.with(int key1, int value1, int key2, int value2) default MutableIntIntMapMutableIntIntMapFactory.with(int key1, int value1, int key2, int value2, int key3, int value3) default MutableIntIntMapMutableIntIntMapFactory.with(int key1, int value1, int key2, int value2, int key3, int value3, int key4, int value4) MutableIntIntMapFactory.withInitialCapacity(int capacity) Same asMutableIntIntMapFactory.empty(). but takes in an initial capacity -
Uses of MutableIntIntMap in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive that return MutableIntIntMapModifier and TypeMethodDescriptionMutableIntIntMap.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.MutableIntIntMap.asUnmodifiable()Returns an unmodifiable view of this map, delegating all read-only operations to this map and throwing anUnsupportedOperationExceptionfor all mutating operations.MutableIntIntMap.flipUniqueValues()MutableIntIntMap.reject(IntIntPredicate predicate) MutableIntIntMap.select(IntIntPredicate predicate) default MutableIntIntMapMutableIntIntMap.withAllKeyValues(Iterable<IntIntPair> keyValuePairs) Puts all of the key/value mappings from the specified pairs into this map.MutableIntIntMap.withKeyValue(int key, int value) Associates a value with the specified key.MutableIntIntMap.withoutAllKeys(IntIterable keys) Removes the mappings associated with all the keys, if they exist, from this map.MutableIntIntMap.withoutKey(int key) Removes the mapping associated with the key, if one exists, from this map.