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