Uses of Interface
org.eclipse.collections.api.map.primitive.MutableLongShortMap
Packages that use MutableLongShortMap
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 MutableLongShortMap in org.eclipse.collections.api.factory.map.primitive
Methods in org.eclipse.collections.api.factory.map.primitive that return MutableLongShortMapModifier and TypeMethodDescriptionMutableLongShortMapFactory.empty()MutableLongShortMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anMutableLongShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableLongShortMapFactory.of()Same asMutableLongShortMapFactory.empty().default MutableLongShortMapMutableLongShortMapFactory.of(long key, short value) default MutableLongShortMapMutableLongShortMapFactory.of(long key1, short value1, long key2, short value2) default MutableLongShortMapMutableLongShortMapFactory.of(long key1, short value1, long key2, short value2, long key3, short value3) default MutableLongShortMapMutableLongShortMapFactory.of(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4) MutableLongShortMapFactory.ofAll(LongShortMap map) MutableLongShortMapFactory.ofInitialCapacity(int capacity) Same asMutableLongShortMapFactory.empty(). but takes in an initial capacityMutableLongShortMapFactory.with()Same asMutableLongShortMapFactory.empty().default MutableLongShortMapMutableLongShortMapFactory.with(long key, short value) default MutableLongShortMapMutableLongShortMapFactory.with(long key1, short value1, long key2, short value2) default MutableLongShortMapMutableLongShortMapFactory.with(long key1, short value1, long key2, short value2, long key3, short value3) default MutableLongShortMapMutableLongShortMapFactory.with(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4) MutableLongShortMapFactory.withAll(LongShortMap map) MutableLongShortMapFactory.withInitialCapacity(int capacity) Same asMutableLongShortMapFactory.empty(). but takes in an initial capacity -
Uses of MutableLongShortMap in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive that return MutableLongShortMapModifier and TypeMethodDescriptionMutableLongShortMap.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.MutableLongShortMap.asUnmodifiable()Returns an unmodifiable view of this map, delegating all read-only operations to this map and throwing anUnsupportedOperationExceptionfor all mutating operations.MutableShortLongMap.flipUniqueValues()MutableLongShortMap.reject(LongShortPredicate predicate) MutableLongShortMap.select(LongShortPredicate predicate) default MutableLongShortMapMutableLongShortMap.withAllKeyValues(Iterable<LongShortPair> keyValuePairs) Puts all of the key/value mappings from the specified pairs into this map.MutableLongShortMap.withKeyValue(long key, short value) Associates a value with the specified key.MutableLongShortMap.withoutAllKeys(LongIterable keys) Removes the mappings associated with all the keys, if they exist, from this map.MutableLongShortMap.withoutKey(long key) Removes the mapping associated with the key, if one exists, from this map.