Uses of Interface
org.eclipse.collections.api.map.primitive.ImmutableLongShortMap
Packages that use ImmutableLongShortMap
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 ImmutableLongShortMap in org.eclipse.collections.api.factory.map.primitive
Methods in org.eclipse.collections.api.factory.map.primitive that return ImmutableLongShortMapModifier and TypeMethodDescriptionImmutableLongShortMapFactory.empty()ImmutableLongShortMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anImmutableLongShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableLongShortMapFactory.of()Same asImmutableLongShortMapFactory.empty().ImmutableLongShortMapFactory.of(long key, short value) ImmutableLongShortMapFactory.ofAll(LongShortMap map) ImmutableLongShortMapFactory.with()Same asImmutableLongShortMapFactory.empty().ImmutableLongShortMapFactory.with(long key, short value) ImmutableLongShortMapFactory.withAll(LongShortMap map) -
Uses of ImmutableLongShortMap in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive that return ImmutableLongShortMapModifier and TypeMethodDescriptionImmutableShortLongMap.flipUniqueValues()ImmutableLongShortMap.newWithKeyValue(long key, short value) Copy this map, associate the value with the key (replacing the value if one already exists forkey), and return the copy as new immutable map.ImmutableLongShortMap.newWithoutAllKeys(LongIterable keys) Copy this map, remove any associated values with the specified keys (if any exist), and return the copy as a new immutable map.ImmutableLongShortMap.newWithoutKey(long key) Copy this map, remove any associated value with the key (if one exists), and return the copy as a new immutable map.ImmutableLongShortMap.reject(LongShortPredicate predicate) ImmutableLongShortMap.select(LongShortPredicate predicate) LongShortMap.toImmutable()Returns a copy of this map that is immutable (if this map is mutable) or itself if it is already immutable.