Uses of Interface
org.eclipse.collections.api.map.primitive.ImmutableShortLongMap
Packages that use ImmutableShortLongMap
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 ImmutableShortLongMap in org.eclipse.collections.api.factory.map.primitive
Methods in org.eclipse.collections.api.factory.map.primitive that return ImmutableShortLongMapModifier and TypeMethodDescriptionImmutableShortLongMapFactory.empty()ImmutableShortLongMapFactory.from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anImmutableShortLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableShortLongMapFactory.of()Same asImmutableShortLongMapFactory.empty().ImmutableShortLongMapFactory.of(short key, long value) ImmutableShortLongMapFactory.ofAll(ShortLongMap map) ImmutableShortLongMapFactory.with()Same asImmutableShortLongMapFactory.empty().ImmutableShortLongMapFactory.with(short key, long value) ImmutableShortLongMapFactory.withAll(ShortLongMap map) -
Uses of ImmutableShortLongMap in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive that return ImmutableShortLongMapModifier and TypeMethodDescriptionImmutableLongShortMap.flipUniqueValues()ImmutableShortLongMap.newWithKeyValue(short key, long 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.ImmutableShortLongMap.newWithoutAllKeys(ShortIterable keys) Copy this map, remove any associated values with the specified keys (if any exist), and return the copy as a new immutable map.ImmutableShortLongMap.newWithoutKey(short key) Copy this map, remove any associated value with the key (if one exists), and return the copy as a new immutable map.ImmutableShortLongMap.reject(ShortLongPredicate predicate) ImmutableShortLongMap.select(ShortLongPredicate predicate) ShortLongMap.toImmutable()Returns a copy of this map that is immutable (if this map is mutable) or itself if it is already immutable.