Uses of Interface
org.eclipse.collections.api.map.primitive.ImmutableShortIntMap
Packages that use ImmutableShortIntMap
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 ImmutableShortIntMap in org.eclipse.collections.api.factory.map.primitive
Methods in org.eclipse.collections.api.factory.map.primitive that return ImmutableShortIntMapModifier and TypeMethodDescriptionImmutableShortIntMapFactory.empty()ImmutableShortIntMapFactory.from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableShortIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableShortIntMapFactory.of()Same asImmutableShortIntMapFactory.empty().ImmutableShortIntMapFactory.of(short key, int value) ImmutableShortIntMapFactory.ofAll(ShortIntMap map) ImmutableShortIntMapFactory.with()Same asImmutableShortIntMapFactory.empty().ImmutableShortIntMapFactory.with(short key, int value) ImmutableShortIntMapFactory.withAll(ShortIntMap map) -
Uses of ImmutableShortIntMap in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive that return ImmutableShortIntMapModifier and TypeMethodDescriptionImmutableIntShortMap.flipUniqueValues()ImmutableShortIntMap.newWithKeyValue(short key, int 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.ImmutableShortIntMap.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.ImmutableShortIntMap.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.ImmutableShortIntMap.reject(ShortIntPredicate predicate) ImmutableShortIntMap.select(ShortIntPredicate predicate) ShortIntMap.toImmutable()Returns a copy of this map that is immutable (if this map is mutable) or itself if it is already immutable.