Uses of Interface
org.eclipse.collections.api.map.primitive.ImmutableLongIntMap
Packages that use ImmutableLongIntMap
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 ImmutableLongIntMap in org.eclipse.collections.api.factory.map.primitive
Methods in org.eclipse.collections.api.factory.map.primitive that return ImmutableLongIntMapModifier and TypeMethodDescriptionImmutableLongIntMapFactory.empty()ImmutableLongIntMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableLongIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableLongIntMapFactory.of()Same asImmutableLongIntMapFactory.empty().ImmutableLongIntMapFactory.of(long key, int value) ImmutableLongIntMapFactory.ofAll(LongIntMap map) ImmutableLongIntMapFactory.with()Same asImmutableLongIntMapFactory.empty().ImmutableLongIntMapFactory.with(long key, int value) ImmutableLongIntMapFactory.withAll(LongIntMap map) -
Uses of ImmutableLongIntMap in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive that return ImmutableLongIntMapModifier and TypeMethodDescriptionImmutableIntLongMap.flipUniqueValues()ImmutableLongIntMap.newWithKeyValue(long 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.ImmutableLongIntMap.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.ImmutableLongIntMap.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.ImmutableLongIntMap.reject(LongIntPredicate predicate) ImmutableLongIntMap.select(LongIntPredicate predicate) LongIntMap.toImmutable()Returns a copy of this map that is immutable (if this map is mutable) or itself if it is already immutable.