Uses of Interface
org.eclipse.collections.api.map.primitive.MutableLongIntMap
Packages that use MutableLongIntMap
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 MutableLongIntMap in org.eclipse.collections.api.factory.map.primitive
Methods in org.eclipse.collections.api.factory.map.primitive that return MutableLongIntMapModifier and TypeMethodDescriptionMutableLongIntMapFactory.empty()MutableLongIntMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anMutableLongIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableLongIntMapFactory.of()Same asMutableLongIntMapFactory.empty().default MutableLongIntMapMutableLongIntMapFactory.of(long key, int value) default MutableLongIntMapMutableLongIntMapFactory.of(long key1, int value1, long key2, int value2) default MutableLongIntMapMutableLongIntMapFactory.of(long key1, int value1, long key2, int value2, long key3, int value3) default MutableLongIntMapMutableLongIntMapFactory.of(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int value4) MutableLongIntMapFactory.ofAll(LongIntMap map) MutableLongIntMapFactory.ofInitialCapacity(int capacity) Same asMutableLongIntMapFactory.empty(). but takes in an initial capacityMutableLongIntMapFactory.with()Same asMutableLongIntMapFactory.empty().default MutableLongIntMapMutableLongIntMapFactory.with(long key, int value) default MutableLongIntMapMutableLongIntMapFactory.with(long key1, int value1, long key2, int value2) default MutableLongIntMapMutableLongIntMapFactory.with(long key1, int value1, long key2, int value2, long key3, int value3) default MutableLongIntMapMutableLongIntMapFactory.with(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int value4) MutableLongIntMapFactory.withAll(LongIntMap map) MutableLongIntMapFactory.withInitialCapacity(int capacity) Same asMutableLongIntMapFactory.empty(). but takes in an initial capacity -
Uses of MutableLongIntMap in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive that return MutableLongIntMapModifier and TypeMethodDescriptionMutableLongIntMap.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.MutableLongIntMap.asUnmodifiable()Returns an unmodifiable view of this map, delegating all read-only operations to this map and throwing anUnsupportedOperationExceptionfor all mutating operations.MutableIntLongMap.flipUniqueValues()MutableLongIntMap.reject(LongIntPredicate predicate) MutableLongIntMap.select(LongIntPredicate predicate) default MutableLongIntMapMutableLongIntMap.withAllKeyValues(Iterable<LongIntPair> keyValuePairs) Puts all of the key/value mappings from the specified pairs into this map.MutableLongIntMap.withKeyValue(long key, int value) Associates a value with the specified key.MutableLongIntMap.withoutAllKeys(LongIterable keys) Removes the mappings associated with all the keys, if they exist, from this map.MutableLongIntMap.withoutKey(long key) Removes the mapping associated with the key, if one exists, from this map.