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